Re: [xsl] Non-well-formed HTML in XSL

Subject: Re: [xsl] Non-well-formed HTML in XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 18 Jul 2002 10:59:41 +0100

> BTW In what configurations doesn't the solution work? T

any configuration in which the output of XSLT is passed on as some kind
of in memory dom or string to another processor. or any configuration
where the XSLT processor chooses not to implement d-o-e (which is a
conformant option).

disable-output-encoding is a hint (which the processor can ignore) to 
linearise < as < instead of &lt;.

But if the result tree is not linearised but is passed on as a tree to
some other process then this hint will go.

mozilla for example passes the resulting DOM tree straight to its
rendering engine without linearising and re-parsing. so 
a < in character data is a character not the start of markup, whatever
the stylesheet may say about d-o-e.

But in general most interfaces to XSLT that are not simply writing out a
file will have this behaviour.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread