Text output mode

The techniques described above are complex and untidy. Fortunately, the XSLT standard includes a mechanism that makes output of non-XML data much simpler. However, this is an optional mechanism, and so a particular XSLT processor may not support it. In this circumstance, the techniques described above must be used instead.

Some XSLT processors (and hopefully most) will support the 'text mode' option. In this mode, none of the reserved escape characters is converted into its entity reference form ('&', '<' or '>'). This makes the Disable Output Escaping attribute redundant (if it is present at all). The main reason why this mode may not be supported is that some XSLT processors will not have control over the actual outputting ...

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.