cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <mengelh...@earthtrip.com>
Subject Re: disable-output-escaping
Date Tue, 08 Feb 2000 19:03:55 GMT
Scott Boag/CAM/Lotus wrote:

> 
> Mike Engelhart <mengelhart@earthtrip.com> wrote:
>> What I'm clearly not understanding though is since the HTML fragment is
>> "well-formed", why can't I just put it into my XSP document and then
> access
>> it via regular xsl calls or even <xsl:copy-of select="html_table"/>.   I
>> guess this is an XSP issue and not XSL??  Anyone know?
> 
> No, this is a standard serialization issue... what you are trying to do is
> potentially output illegal markup.  In memory, the text is represented as "
> <<<", but these have to be escaped in the output in order to make the
> markup legal.  The fact that your node happens to contain legal HTML markup
> is unknown to the DOM and to the serializer.
>
OK - now I understand a little better. I think I'm just going to rewrite the
classes that output HTML string fragments use DOM instead.  Much easier for
me to understand at least.
thanks,
Mike


Mime
View raw message