diff options
Diffstat (limited to 'tests/general/bug-170.xsl')
-rw-r--r-- | tests/general/bug-170.xsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/general/bug-170.xsl b/tests/general/bug-170.xsl new file mode 100644 index 00000000..393bc4b5 --- /dev/null +++ b/tests/general/bug-170.xsl @@ -0,0 +1,6 @@ +<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> |