Project

Profile

Help

Bug #2409 » second.xsl

Radu Pisoi, 2015-06-25 11:25

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:template match="mainOutput">
<xsl:variable name="docURI" select="document-uri(/)"/>
<xsl:message>Document URI: <xsl:value-of select="$docURI"/></xsl:message>
<!--<xsl:variable name="datei" select="replace ($docURI, '.xml$' ,'_META.xml')"/>
<xsl:message>Write document: <xsl:value-of select="$datei"/> </xsl:message>
<xsl:result-document href="{$datei}">
<xsl:copy-of select="."/>
</xsl:result-document>-->
<second_output>
text
</second_output>
</xsl:template>
</xsl:stylesheet>
(3-3/3)