How can I include the content of a plain text file in a result document from within an XSLT 1.0 stylesheet? I.e., just like document()
, but without parsing it:
<xsl:value-of select="magic-method-to-include-plaintext(@xlink_href)" />
I am almost sure, that this doesn't work without extension, because:
there is a special XPath function defined for this in XSLT/XPath 2.0:
<xsl:value-of select="unparsed-text(@xlink:href, 'UTF-8')"/>
the XSLT FAQ only lists a Java extension to achieve this via EXSLT
However, perhaps I missed something?