Next / Previous / Contents / TCC Help System / NM Tech homepage

9. Output instructions

These elements are used to send various things to the output your stylesheet is producing.

9.1. <xsl:text>: Output literal text

To send some text to the output, embed that text in the content of an <xsl:text> element. For example, this would send the text "not", followed by a newline, followed by the text "insane":


There is one optional attribute:


For output to XML or HTML, special characters like "<" are translated to their escaped equivalents, such as "&lt;. If your <xsl:text> element has attribute disable-output-escaping="yes", however, such characters will be sent as is, untranslated. The default value is "no". This option is ignored for text output.