mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-11 16:10:45 +03:00
* 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
13 lines
295 B
XML
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>
|