<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="extensions" page="functions" subpage="generateid"/>
      <!--
           Generated at 2010-10-29T18:20:48.427+01:00--><title>Saxonica: XSLT and XQuery Processing: saxon:generate-id()</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: saxon:generate-id()"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>saxon:generate-id()</h1>
      <p><b>saxon:generate-id($node as node()) =&gt; xs:string</b></p>
      <p>This function returns a string that acts as a unique identifier for the supplied node. The identifier will
 always consist of ASCII letters and digits and will start with a letter.</p>
      <p>The function is identical to the XSLT generate-id() function. It is provided as an extension function in the
 Saxon namespace to make it available in contexts other than XSLT, for example in XQuery.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="getpseudoattribute.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>