diff options
Diffstat (limited to 'dummy')
-rw-r--r-- | dummy/transform.xsl | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/dummy/transform.xsl b/dummy/transform.xsl index eab7a81..c955a85 100644 --- a/dummy/transform.xsl +++ b/dummy/transform.xsl @@ -2,15 +2,18 @@ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:external="http://ExternalFunction.xalan-c++.xml.apache.org" + xmlns:InputXSLT="function.inputxslt.application" + exclude-result-prefixes="InputXSLT" > -<xsl:output method="xml" +<xsl:output + method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" omit-xml-declaration="yes" encoding="UTF-8" - indent="yes" /> + indent="yes" +/> <xsl:template match="/"> <html> @@ -18,7 +21,7 @@ </head> <body> <div id="raw"> - <xsl:variable name="testFile" select="external:read-file('test.txt')"/> + <xsl:variable name="testFile" select="InputXSLT:read-file('test.txt')"/> <xsl:choose> <xsl:when test="$testFile/self::error"> Could not read text file. @@ -30,7 +33,7 @@ </div> <div id="xml"> - <xsl:variable name="testXml" select="external:read-xml-file('test.txt')"/> + <xsl:variable name="testXml" select="InputXSLT:read-xml-file('test.txt')"/> <xsl:choose> <xsl:when test="$testXml/self::error"> Could not read XML file. @@ -46,7 +49,7 @@ </div> <div id="filelists"> - <xsl:variable name="fileList" select="external:read-directory('../')"/> + <xsl:variable name="fileList" select="InputXSLT:read-directory('../')"/> <xsl:choose> <xsl:when test="$fileList/self::error"> Could not read directory. |