Subject: Re: xml to html paragraphing
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 29 Mar 2001 23:25:38 +0100
|
I am fetching the user-submitted HTML for display on a web page. The XSLT
is generating surrounding elements (e.g., a navigation bar) in addition to
the user HTML. I have no guarantee that the user entered well-formed HTML,
and I don't trust Microsoft's DOM. I'd rather have a forgiving-browser
display poorly-formed HTML, than have the entire XSL sheet abort and lose
the page.
fair enough, but that's what disable-output-encoding is for, no need to
use javascript for that.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|