<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html> <head> <this-is section="xsl-elements" page="text" subpage=""/> <!-- Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:text</title> <meta name="coverage" content="Worldwide"/> <meta name="copyright" content="Copyright Saxonica Ltd"/> <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:text"/> <meta name="robots" content="noindex,nofollow"/> <link rel="stylesheet" href="../saxondocs.css" type="text/css"/> </head> <body class="main"> <h1>xsl:text</h1> <p>The <code>xsl:text</code> element causes its content to be output.</p> <p>The main reason for enclosing text within an <code>xsl:text</code> element is to allow white space to be output. White space nodes in the stylesheet are ignored unless they appear immediately within an <code>xsl:text</code> element.</p> <p>The optional <code>disable-output-escaping</code> attribute may be set to "yes" or "no"; the default is "no". If set to "yes", special characters such as "<" and "&" will be output as themselves, not as entities. Be aware that in general this can produce non-well-formed XML or HTML. It is useful, however, when generating things such as ASP or JSP pages. Escaping may not be disabled when writing to a result tree fragment.</p> <table width="100%"> <tr> <td> <p align="right"><a class="nav" href="try.xml">Next</a></p> </td> </tr> </table> </body> </html>