1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-11 16:10:45 +03:00
Files
libxslt/tests/general/bug-134.xsl
Daniel Veillard 16130f7179 fixed an error from #120684 patch raised in #127450 added tests to the
* libxslt/keys.c: fixed an error from #120684 patch raised in
  #127450
* tests/docs/Makefile.am tests/docs/bug-134.xml
  tests/general/Makefile.am tests/docs/bug-134*: added tests
  to the regression suite for bug #127450.
Daniel
2003-11-20 10:02:08 +00:00

13 lines
295 B
XML

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:key name="test" match="node()[self::sect][h1|h2]" use="'test'" />
<xsl:template match="/">
<result>
<xsl:value-of select="count(key('test','test'))" />
</result>
</xsl:template>
</xsl:stylesheet>