title: xsltproc doesn't recognize XSLT 2.0
body: <p>I have this XSLT syltesheet:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  
  &lt;xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
    &lt;xsl:output method="xml" indent="yes" /&gt;
    &lt;xsl:strip-space elements="*" /&gt;
  
    &lt;!-- Default behavior: copy everything --&gt;
    &lt;xsl:template match="@*|node()"&gt;
      &lt;xsl:copy&gt;
        &lt;xsl:apply-templates select="@*|node()" /&gt;
      &lt;/xsl:copy&gt;
    &lt;/xsl:template&gt;
  
    &lt;!-- Do not copy: --&gt;
    &lt;xsl:template match="NodeLevel1[matches(NodeLevel2/@Param1, 'myRegex')]"&gt;
    &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>So, I want to copy everything but certain nodes based on a regex expression. And I want to use the matches function of XSLT 2 to achieve this. But when I run the following command:</p>
  
  <pre><code>xsltproc.exe style.xsl input.xml &gt; output.xml
  </code></pre>
  
  <p>I got this message looped on the standard output:</p>
  
  <pre><code>xmlXPathCompOpEval: function matches not found
  XPath error : Unregistered function
  xmlXPathCompiledEval: 1 object left on the stack
  </code></pre>
  
  <p>How to fix this please ?</p>
  
  <p>Thanks very much.</p>