xsl-list
[Top] [All Lists]

RE: RE: pass malformed HTML through the parser?

2003-08-14 03:51:13
Jeff,

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

I just see the html code and the tags don't render

Cheers

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: 13 August 2003 16:21
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] pass malformed HTML through the parser?


Jeff,

Converting the data to xhtml is an excellent plan, but there is still 
value in being  able to leave  the raw data essentially untouched at 
least  while you are testing the conversions.   (Bad HTML can really 
mess up quite badly during such a transform ... ). 

A temporary solution is to first rewrite each html file as

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

You can then use the document function  to read these files in. (You may 
have to watch out for embedded "]]>"  's in the files)


Stan Devitt
StratumTek





 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