[xslt] libxslt-1.0.20 and disable-output-escaping broken?
- From: Mario Weilguni <mweilguni sime com>
- To: xslt gnome org
- Cc: Daniel Veillard <daniel veillard com>
- Subject: [xslt] libxslt-1.0.20 and disable-output-escaping broken?
- Date: Tue, 24 Sep 2002 19:13:39 +0200
Hi,
I noticed that libxslt-1.0.20 seems to be broken, "disable-output-escaping" does no longer work.
Here's an example:
XML:
<?xml version="1.0" encoding="iso-8859-1"?>
<beitrag>
<b>This is HTML</b>
</beitrag>
XSLT:
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
<xsl:template match="/*">
<xsl:value-of select="text()" disable-output-escaping="yes"/>
</xsl:template>
</xsl:stylesheet>
For libxslt-1.0.19 (and any earlier version) I get:
<b>This is HTML</b>
For libxslt-1.0.20 I get:
<b>This is HTML</b>
The I tried the same with CDATA:
<?xml version="1.0" encoding="iso-8859-1"?>
<beitrag><![CDATA[<b>This is HTML</b>]]></beitrag>
and get:
<b>This is HTML</b>
which is wrong as well.
Then I tried the same XSL without the line:
<xsl:output method="html" indent="yes" encoding="iso-8859-1"/>
but IMO the "disable-output-escaping" should work anyways.
Any ideas?
Thanks!
Best regards,
Mario Weilguni
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]