<?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="printstack"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: saxon:print-stack()</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: saxon:print-stack()"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>saxon:print-stack()</h1>
      <p><b>saxon:print-stack() ==&gt; xs:string</b></p>
      <p>This function takes no arguments. It returns a string whose value is a formatted representation of the
current state of the execution stack. This is suitable for display using <code>xsl:message</code> or the <code>trace()</code>
function, or it can be inserted as a comment into the result document.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="query.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>