[xslt] Problems with xsl:text
- From: "Gero Meißner" <meissner zentrale heinze de>
- To: <xslt gnome org>
- Subject: [xslt] Problems with xsl:text
- Date: Thu, 11 Oct 2001 15:09:59 +0200
Hello,
I try to use the XML::LibXML and XML::LibXSLT perl packages and always get
in trouble with the 'disable-output-escaping' attribute of the 'xsl:text'
element. The stylesheet-file contains the following section:
<xsl:template match="image">
<a>
<xsl:attribute name="href">
<xsl:text disable-output-escaping="yes">
javascript:zoom('./zoom.html?file=abc.jpg&width=300&400');
</xsl:text>
</xsl:attribute>
:
</a>
</xsl:template>
Using LibXML and LibXSLT the newly created document still contains the
entity reference '&' instead of the character '&'.
There are no problems when using xalan or saxon on MS Windows. Is there any
possiblity to get the right character when using LibXML and LibXSLT?
Thank you very much!
Gero Meissner
Heinze GmbH
Geschaeftsstelle Ost
Paradiesstraße 206B
12526 Berlin
Tel: +49 (030) 67 97 09 24
Fax: +49 (030) 67 97 09 34
email: gero.meissner@heinze.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]