aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-23 00:19:09 +0200
committerAdrian Kummerlaender2014-08-23 00:19:09 +0200
commit5a54b5b8150d8bf1ac5db3ac688479b3aca6486d (patch)
tree08fe4ce82a6f0da1837504afaf9c0d27affa5513 /test
parent2c89112141530617b51af8c41211c2507ec8c738 (diff)
downloadInputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.gz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.bz2
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.lz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.xz
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.tar.zst
InputXSLT-5a54b5b8150d8bf1ac5db3ac688479b3aca6486d.zip
Replaced FunctionTransform by making the target of FunctionGenerate optional
* if the target parameter is not provided FunctionGenerate now performs exactly the same functionality as FunctionTransform * added "boost::optional<boost::filesystem::path>" specialization to the XObjectValue class * modified test cases accordingly * modified README.md accordingly
Diffstat (limited to 'test')
-rw-r--r--test/transform/transformation.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/transformation.xsl b/test/transform/transformation.xsl
index 247a4c6..1409db8 100644
--- a/test/transform/transformation.xsl
+++ b/test/transform/transformation.xsl
@@ -14,7 +14,7 @@
<xsl:param name="input"/>
<xsl:param name="transformation"/>
- <xsl:copy-of select="InputXSLT:transform(
+ <xsl:copy-of select="InputXSLT:generate(
$input,
string($transformation)
)"/>
@@ -40,7 +40,7 @@
</xsl:call-template>
</xsl:variable>
- <xsl:variable name="transformation" select="xalan:nodeset($result)/transformation"/>
+ <xsl:variable name="transformation" select="xalan:nodeset($result)/generation"/>
<xsl:choose>
<xsl:when test="$transformation/@result = 'success'">