Subject: Re: [xsl] copy html from xml to html From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 15 Apr 2003 15:27:24 +0100 |
> It can be a good idea put all HTML into a CDATA section Sometimes, but not very often. The purpose of a CDTATA section is to say that the < in <html does not denote the start of an element tag. Since it _does_ denote the start of an element tag, marking things with CDATA complicates further processing, and in the case of XSLT makes it hard to do anything at all without relying on disable-output-escaping which is specified as being an optional feature thus making your stylesheet inherently non-portable between implementations. In answer to the original question > i need an xsl command to copy EXACLTY html embedded in an xml file to the > the output html, without having to declare ALL html tags in my dtd. Most XSLT systems use (or can be made to use) a non validating parser so you don't have to declare any elements in any DTD. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] copy html from xml to htm, Oscar | Thread | RE: [xsl] copy html from xml to htm, Jarno . Elovirta |
RE: [xsl] xslt2 grouping, Andrew Welch | Date | [xsl] Xalan fillbuf error, Chris Loschen |
Month |