<?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="user-defined-atts"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: User-defined serialization attributes</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: User-defined serialization attributes"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>User-defined serialization attributes</h1>
      <p>Any number of
user-defined attributes may be defined on <code>xsl:output</code>. These 
attributes must have names in a non-null namespace, which must not be either the XSLT
or the Saxon namespace. 
The value of the attribute is inserted into the <code>Properties</code> object made available to 
the <code>Receiver</code> handling the output; they will be ignored by the standard output methods,
but can supply arbitrary information to a user-defined output method. The name of the
property will be the expanded name of the attribute in JAXP format, for example
"{http://my-namespace/uri}local-name", and the value will be the value as given in the stylesheet. </p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="../functions.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>