<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="../make-menu.xsl" type="text/xsl"?><html>
   <head>
      <this-is section="xsl-elements" page="next-match" subpage=""/>
      <!--
           Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: xsl:next-match</title>
      <meta name="coverage" content="Worldwide"/>
      <meta name="copyright" content="Copyright Saxonica Ltd"/>
      <meta name="title" content="Saxonica: XSLT and XQuery Processing: xsl:next-match"/>
      <meta name="robots" content="noindex,nofollow"/>
      <link rel="stylesheet" href="../saxondocs.css" type="text/css"/>
   </head>
   <body class="main">
      <h1>xsl:next-match</h1>
      <p>The <b><code>xsl:next-match</code></b> instruction was introduced in XSLT 2.0. 
            It is very similar to <code>xsl:apply-imports</code>,
but with a different algorithm for choosing the next template to execute. It chooses the template rule
that matches the current node and that would have been chosen if the current template rule and all
higher precedence/priority rules were not there.</p>
      <table width="100%">
         <tr>
            <td>
               <p align="right"><a class="nav" href="non-matching-substring.xml">Next</a></p>
            </td>
         </tr>
      </table>
   </body>
</html>