xsl-list
[Top] [All Lists]

libxslt disable-output-escaping was: pass malformed HTML through the parser?

2003-08-14 06:32:47
Hi,

I can't seem to get disable-output-escaping to work using the following XML,
XSLT tools...

libxml2-2.5.9
libxslt-1.0.32

Has anyone else had this problem and solved it?

Many Thanks for advise in advance

Gary

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Stan Devitt
Sent: 14 August 2003 13:34
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] pass malformed HTML through the parser?


This provides almost exactly the same solution as parsing the
data and replacing special characters such as < by &lt;, etc.
(but less robust)

Once it's in the tree,  XSLT treats both the same.  Thus, you still need
to disable output escaping on the value of   the html fragment when
generating output using the xml or html output method.

Stan Devitt
StratumTek

Gary Cornelius wrote:

How do I avoid the disable-output escaping problem with this in
browser.

...
<?xml version="1.0">
<questionable_html_fragment><![CDATA[
original content goes here ...
]]></questionable_html_fragment>








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



This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which they are addressed. If 
you have received this email in error please reply to this email and then 
delete it. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of Future. 

The recipient should check this email and any attachments for the presence of 
viruses. Future accepts no liability for any damage caused by any virus 
transmitted by this email. 

Future may regularly and randomly monitor outgoing and incoming emails and 
other telecommunications on its email and telecommunications systems. By 
replying to this email you give your consent to such monitoring.

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