1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-11 16:10:45 +03:00
Files
libxslt/tests/general/bug-170.xsl
Nick Wellnhofer 2a697a5819 Fix direct pattern matching bug
and adds a test case for the problem,
also adding a .gitignore cleanup
2010-11-08 10:42:33 +01:00

7 lines
240 B
XML

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="a[@type='b']" >
<xsl:if test="position()"/>
</xsl:template>
<xsl:template match="a[@type='XX'][.]"/>
</xsl:stylesheet>