This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: xml to html paragraphing
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] xml to html paragraphing
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 29 Mar 2001 23:25:38 +0100
- References: <FFD6978EFFDED311962700008308587D07922980@corphq3.ecolab.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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