Yes, it's valid and works with other tools.
Below is an example.

The file 1.xml, placed in the directory ./xmlin/rcv/

<?xml version="1.0" encoding="ISO-8859-1"?>
<root>
1 
</root>

The file DocTest.xsl, placed in the directory target/classes (that is part
of the classpath)

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet  xmlns:date="http://exslt.org/dates-and-times"; version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
        <date:months>
                <date:month length="31" abbr="Jan">January</date:month>
                <date:month length="28" abbr="Feb">February</date:month>
        </date:months>
        <xsl:template match="root">
                        <xsl:variable name="month-node"
select="document('')/*/date:months/date:month[number(2)]"/>
                        <xsl:element name="MyDate">
                                <xsl:value-of select="$month-node"/>
                        </xsl:element>
        </xsl:template>
</xsl:stylesheet>



--
View this message in context: 
http://camel.465427.n5.nabble.com/xslt-TransformerException-include-href-is-empty-tp5730288p5730315.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to