summaryrefslogtreecommitdiff
path: root/tests/phaos-xmldsig-three/document.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phaos-xmldsig-three/document.xsl')
-rw-r--r--tests/phaos-xmldsig-three/document.xsl45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/phaos-xmldsig-three/document.xsl b/tests/phaos-xmldsig-three/document.xsl
new file mode 100644
index 00000000..7c3cd854
--- /dev/null
+++ b/tests/phaos-xmldsig-three/document.xsl
@@ -0,0 +1,45 @@
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict" >
+
+<xsl:strip-space elements="player name position team"/>
+<xsl:output
+ method="xml"
+ indent="no"
+ encoding="iso-8859-1"
+/>
+
+<xsl:template match="player">
+ <html>
+ <head>
+ <title>
+ <xsl:value-of select="name"/>
+ </title>
+ </head>
+ <body>
+ <xsl:apply-templates/>
+ </body>
+ </html>
+</xsl:template>
+
+<xsl:template match="player/name">
+ <h1>
+ <xsl:apply-templates/>
+ </h1>
+</xsl:template>
+
+<xsl:template match="player/position">
+ <h2>
+ <xsl:apply-templates/>
+ </h2>
+</xsl:template>
+
+<xsl:template match="player/team">
+ <h3>
+ <xsl:apply-templates/>
+ </h3>
+</xsl:template>
+
+
+
+</xsl:stylesheet>