summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/general/bug-147-3.imp
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:25:21 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-19 18:25:21 (GMT)
commitd72feaf69933b069cff3c0cb20a5f5f03ecba77b (patch)
treebf51d2814f4be65c850dba86dc2a5db0ad38bedf /libxslt/tests/general/bug-147-3.imp
parent34be72f9ed749a5c013d3f7f47d810e8caf652cb (diff)
parent49e8fbec2420ef55b3246aabd89328b13530810c (diff)
downloadblt-d72feaf69933b069cff3c0cb20a5f5f03ecba77b.zip
blt-d72feaf69933b069cff3c0cb20a5f5f03ecba77b.tar.gz
blt-d72feaf69933b069cff3c0cb20a5f5f03ecba77b.tar.bz2
Merge commit '49e8fbec2420ef55b3246aabd89328b13530810c' as 'libxslt'
Diffstat (limited to 'libxslt/tests/general/bug-147-3.imp')
-rw-r--r--libxslt/tests/general/bug-147-3.imp57
1 files changed, 57 insertions, 0 deletions
diff --git a/libxslt/tests/general/bug-147-3.imp b/libxslt/tests/general/bug-147-3.imp
new file mode 100644
index 0000000..89444c8
--- /dev/null
+++ b/libxslt/tests/general/bug-147-3.imp
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template match="numliste">
+ <xsl:text>template#1 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="numliste-u">
+ <xsl:text>template#2 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="liste | liste-u">
+ <xsl:text>template#3 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="numliste[@startindex] | numliste-u[@startindex]">
+ <xsl:text>template#4 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="le[parent::*/@typ='strich'] |
+ le[parent::liste or parent::liste-u][not
+(parent::*/@typ)]">
+ <xsl:text>template#5 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="le[parent::*/@typ='punkt']">
+ <xsl:text>template#6 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="le[parent::*/@typ='kasten']">
+ <xsl:text>template#7 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+
+<xsl:template match="le[parent::*/@typ='arabisch'] |
+ le[parent::numliste or parent::numliste-u][not
+(parent::*/@typ)]">
+ <xsl:text>template#8 in module#3;</xsl:text>
+ <xsl:apply-templates/>
+</xsl:template>
+
+</xsl:stylesheet>
+