aboutsummaryrefslogtreecommitdiff
path: root/dummy/transform.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'dummy/transform.xsl')
-rw-r--r--dummy/transform.xsl15
1 files changed, 8 insertions, 7 deletions
diff --git a/dummy/transform.xsl b/dummy/transform.xsl
index bd7cbc7..08d005b 100644
--- a/dummy/transform.xsl
+++ b/dummy/transform.xsl
@@ -15,17 +15,18 @@
<head>
</head>
<body>
- <xsl:apply-templates select="items/item" />
+ <div id="raw">
+ <xsl:value-of select="external:read-file('../dummy/test.txt')" />
+ </div>
+ <ul>
+ <xsl:for-each select="external:read-xml-file('../dummy/test.txt')/tester/eintrag">
+ <li><xsl:value-of select="."/></li>
+ </xsl:for-each>
+ </ul>
</body>
</html>
</xsl:template>
-<xsl:template match="items/item">
- <div id="{.}">
- <xsl:value-of select="external:read-file('../dummy/test.txt')" />
- </div>
-</xsl:template>
-
</xsl:stylesheet>