Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > b3bdfe6d859a3d6920ff2c44b38e9a6f > files > 302

saxon-manual-9.4.0.9-2.mga7.noarch.rpm

<?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="currentmode"/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: saxon:current-mode-name()</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title"
            content="Saxonica: XSLT and XQuery Processing: saxon:current-mode-name()"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>saxon:current-mode-name()</h1>
      <p><b>saxon:current-mode-name() ==&gt; xs:QName?</b></p>
      <p>This function, designed for use in XSLT, returns the name of the current mode. If there is no current mode,
            or if the current mode is the default (unnamed) mode, it returns an empty sequence.</p>
      <p>The function is useful where a template belongs to multiple modes, in that it allows the template at run-time
            to determine in which mode it was activated.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="decimaldivide.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>