cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BURGHARD Éric <>
Subject RE: Suggestion for XHTMLSerializer
Date Sat, 06 Aug 2005 09:13:19 GMT
Kees Broenink wrote:

> Éric,
> I tried your solution described below but it does not solve the
> <script></script> problem...
> <script type="text/javascript" src="/bxs/3_0_1/bpc/boot.js"></script>
> will return:
> <script type="text/javascript" src="/bxs/3_0_1/bpc/boot.js"
> xml:space="preserve" />
> So IE is not happy.
> Regards, Kees

it works with saxon8 with html and xhtml methods.
You can test other processor with a XSLT1.0 version of this stylesheet

<xsl:stylesheet xmlns:xsl=""

<xsl:output method="xhtml"/>
    <xsl:template match="*|@*|text()">
            <xsl:apply-templates select="*|@*|text()"/>

on this data

<?xml version="1.0" encoding="UTF-8"?>

With saxon8, script, div, and inputarea are reopened, but br is serialized
"as is".


View raw message