Am Mittwoch, den 16.08.2006, 09:54 -0400 schrieb Daniel Veillard: [XIncluding a text-file to a variable-content in XSLT] > ah ! xinclude wasn't applied to the stylesheet itself only on documents. > Can you test the attached patch ?
Tested and it looks very good. The xi:include element is processed and I observe the expected/wanted result. [..] <xsl:variable name="system.paper.size"><xi:include href="file:///etc/papersize" parse="text"/></xsl:variable> [..] <xsl:text>Size: </xsl:text> <xsl:value-of select="normalize-space($system.paper.size)"/> [..] Result: [..] Size: a4 [...] Perfect. Many thanks! Could you please drop me a hint, when you commit the final code to your VCS (only if you change something)? I will open a bug-report in Debian (where I need this behaviour) and request to apply the patch in the current xsltproc-package. Thanks and regards, Daniel _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
