<?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="preserve-space" subpage=""/> <!-- Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:preserve-space</title> <meta name="coverage" content="Worldwide"/> <meta name="copyright" content="Copyright Saxonica Ltd"/> <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:preserve-space"/> <meta name="robots" content="noindex,nofollow"/> <link rel="stylesheet" href="../saxondocs.css" type="text/css"/> </head> <body class="main"> <h1>xsl:preserve-space</h1> <p>The <code>xsl:preserve-space</code> element is used at the top level of the stylesheet to define elements in the source document for which white-space nodes are significant and should be retained.</p> <p>The <code>elements</code> attribute is mandatory, and defines a space-separated list of element names. The value "*" may be used to mean "all elements"; in this case any elements where whitespace is not to be preserved may be indicated by an <a class="bodylink" href="../xsl-elements/strip-space.xml">xsl:strip-space</a> element.</p> <table width="100%"> <tr> <td> <p align="right"><a class="nav" href="processing-instruction.xml">Next</a></p> </td> </tr> </table> </body> </html>