Share via


Text Syntax (Domain-Specific Languages)

Any non-programmatic text in a text template is known as a text block. You can write a text block directly to the output file of the text transformation. You can add it just by typing the text in the text template.

You can add a text block to the generated transformation class as a Write statement. That is, you do not compile or execute the text in the generated transformation class.

To learn how to add text that includes the strings used to delimit other blocks, see How to: Use Escape Sequences in Text Templates.

See Also

Tasks

Walkthrough: Creating and Running Text Templates

Other Resources

Adding Code to Text Templates

Using Built-in Directives in Text Templates

Generating Artifacts By Using Text Templates

Change History

Date

History

Reason

July 2008

Rewrote and refactored project.

Content bug fix.