<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="extensions" page="output-extras" subpage="ptree-method"/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: The saxon:ptree serialization method</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: The saxon:ptree serialization method"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>The saxon:ptree serialization method</h1>
      <p><i>Requires Saxon-PE or Saxon-EE</i></p>
      <p>The serialization method <code>saxon:ptree</code> causes the result tree to be output as a PTree:
see <a class="bodylink" href="../../sourcedocs/ptree.xml">The PTree file format</a>. This is a binary XML format
that occupies roughly the same amount of disk space as standard lexical XML, but which saves time both on
serializing and parsing, making it useful if the data has to be sent to another machine for the next
stage of processing.</p>
      <p>With this method, all serialization properties other than <code>method</code> are
ignored.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="character-representation.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>