Re: [xslt] Implementation of unparsed-text() (XSLT 2.0)?
- From: Daniel Leidert <daniel leidert spam gmx net>
- To: xslt gnome org
- Subject: Re: [xslt] Implementation of unparsed-text() (XSLT 2.0)?
- Date: Wed, 16 Aug 2006 16:27:20 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]