Freigeben über


Text Syntax (Domain-Specific Languages)

A text block is any non-programmatic text in a text template. You can write a text block directly to the output file of the text transformation. You can add it by simply 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.

Debugging

To debug text templates, you must set the debug parameter of the template directive. For more information, see How to: Debug Text Templates.

Security

For more information, see Security of Text Templates.

See Also

Concepts

Adding Code to Text Templates

Using Built-in Directives in Text Templates

Generating Artifacts Using Text Templates

Walkthrough: Creating and Running Text Templates