aboutsummaryrefslogtreecommitdiff
path: root/dummy
diff options
context:
space:
mode:
authorAdrian Kummerländer2014-04-20 13:09:32 +0200
committerAdrian Kummerländer2014-04-20 13:09:32 +0200
commit29a9fb20b4c8414f2590886e43ae86794a53db89 (patch)
tree4d426d45293a019caee8ee879186111c90b426d3 /dummy
parent3383e24e396431eed7d4ab9f69ff8ffaf12d4925 (diff)
downloadInputXSLT-29a9fb20b4c8414f2590886e43ae86794a53db89.tar
InputXSLT-29a9fb20b4c8414f2590886e43ae86794a53db89.tar.gz
InputXSLT-29a9fb20b4c8414f2590886e43ae86794a53db89.tar.bz2
InputXSLT-29a9fb20b4c8414f2590886e43ae86794a53db89.tar.lz
InputXSLT-29a9fb20b4c8414f2590886e43ae86794a53db89.tar.xz
InputXSLT-29a9fb20b4c8414f2590886e43ae86794a53db89.tar.zst
InputXSLT-29a9fb20b4c8414f2590886e43ae86794a53db89.zip
Implemented support for modifying external function base path
* one expects a read-file function to work relative to the directory the transformation is located and not to the executable's location ** from the perspective of the user the transformation is the application, not the actual executable * removed PlattformGuard struct from TransformerGuard (now TransformerFacade) * TransformerFacade is instatiated with the appropriate relative working path ** i.e. it will have to be instantiated for every directory containing one or more transformations
Diffstat (limited to 'dummy')
-rw-r--r--dummy/transform.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/dummy/transform.xsl b/dummy/transform.xsl
index 08d005b..803e0f6 100644
--- a/dummy/transform.xsl
+++ b/dummy/transform.xsl
@@ -16,10 +16,10 @@
</head>
<body>
<div id="raw">
- <xsl:value-of select="external:read-file('../dummy/test.txt')" />
+ <xsl:value-of select="external:read-file('test.txt')" />
</div>
<ul>
- <xsl:for-each select="external:read-xml-file('../dummy/test.txt')/tester/eintrag">
+ <xsl:for-each select="external:read-xml-file('test.txt')/tester/eintrag">
<li><xsl:value-of select="."/></li>
</xsl:for-each>
</ul>