[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: a FAQ with no subject line
> <fulltext>all html tags etc</fulltext> > if any of the tags are not closed then my > xml file will not be generated properly. If you want to put markup-that-is-not-XML-markup into an XML document, your only option is to have it be a single span of unparsed character data: <fulltext><![CDATA[html goes here]]></fulltext> When you do this, you will not be able to access the internal structure of the HTML because now it is just a string of text, not a serialized representation of a tree of information. XML and XSL only deal with a certain kind of structured data, of which HTML is not. Some XSL processors support the disable-output-escaping mechanism (see the XSLT spec), which will let you put that CDATA into a text node that, when serialized, will not have XML markup characters escaped as & < > etc., but this is probably not what you want. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|