This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xml to html paragraphing



 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]