summaryrefslogtreecommitdiff
path: root/tests/general/bug-27-.xsl
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-05-11 17:15:46 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-05-11 17:15:46 +0000
commita7c43a4198c1f10fc0ce2949a14bed07a67de12b (patch)
tree353ebee18b53b5dbce70297bbc3bc0c604322e7b /tests/general/bug-27-.xsl
parent69cf756db5478363694b8407a53e13c33e771c2c (diff)
downloadlibxslt-a7c43a4198c1f10fc0ce2949a14bed07a67de12b.tar.gz
libxslt-a7c43a4198c1f10fc0ce2949a14bed07a67de12b.tar.bz2
libxslt-a7c43a4198c1f10fc0ce2949a14bed07a67de12b.zip
- libxslt/templates.c libxslt/transform.c: fixed bug #54446
about attribute being generated twice. Fixed a number of related bugs on attributes handling. - tests/REC/test-7.1.4.out: this changed an attribute generation order - tests/docs/bug-27-.xml tests/general/bug-27-.*: added test Daniel
Diffstat (limited to 'tests/general/bug-27-.xsl')
-rw-r--r--tests/general/bug-27-.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/general/bug-27-.xsl b/tests/general/bug-27-.xsl
new file mode 100644
index 00000000..1dedad9e
--- /dev/null
+++ b/tests/general/bug-27-.xsl
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+ <xsl:attribute-set name="my-attr-set">
+ <xsl:attribute name="attr">from-attr-set</xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:template match="/">
+ <p xsl:use-attribute-sets="my-attr-set" attr="from-p-tag">
+ <xsl:attribute name="attr">from-xsl-attr</xsl:attribute>
+ </p>
+ </xsl:template>
+
+</xsl:stylesheet>