[xslt] BUG: @xxx intepreted as */@xxx in match ?



Here is an example.
Regards,
Jerome

[pesenti@dev /tmp]$ cat test.xsl
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
  <xsl:template match="/">
    <xsl:apply-templates select="*" />
  </xsl:template>

  <xsl:template match="@match">
    NAME <xsl:value-of select="name(.)" />
  </xsl:template>
</xsl:stylesheet>[pesenti@dev /tmp]$





[pesenti@dev /tmp]$ xsltproc test.xsl test.xsl
<?xml version="1.0"?>


    NAME xsl:template




    NAME xsl:template
    NAME




[pesenti@dev /tmp]$ xsltproc --version
Using libxml 20430, libxslt 10024 and libexslt 715
xsltproc was compiled against libxml 20430, libxslt
10024 and libexslt 715
libxslt 10024 was compiled against libxml 20430
libexslt 715 was compiled against libxml 20430

On RedHat 7.2

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]