aboutsummaryrefslogtreecommitdiff
path: root/test/read_xml_file/transformation.xsl
blob: ba6fed1bbba6126114525661767939079e9abd1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
	version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:InputXSLT="function.inputxslt.application"
	exclude-result-prefixes="InputXSLT"
>

<xsl:output
	method="xml"
	omit-xml-declaration="no"
	encoding="UTF-8"
	indent="yes"
/>

<xsl:template match="/">
<test_case>
	<function_read_xml_file>
		<xsl:for-each select="InputXSLT:read-xml-file('../common/test.txt')/tester/eintrag">
			<item><xsl:value-of select="."/></item>
		</xsl:for-each>
	</function_read_xml_file>
</test_case>
</xsl:template>

</xsl:stylesheet>