aboutsummaryrefslogtreecommitdiff
path: root/test/default_params/transformation.xsl
blob: 1bbddef9deb3491b26528572380770b08dbf15d0 (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
27
28
29
30
31
32
<?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:param name="target-file"/>
<xsl:param name="parent-directory"/>

<xsl:template match="/">
<test_case>
	<default_params>
		<target_file>
			<xsl:value-of select="$target-file"/>
		</target_file>
		<parent_directory>
			<xsl:value-of select="$parent-directory"/>
		</parent_directory>
	</default_params>
</test_case>
</xsl:template>

</xsl:stylesheet>