[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Parsing of CDATA
> Is there a way of parsing 'out' the contents of > a CDATA section, inside a stylesheet ? > > e.g. > > xml fragment: > <NAME><![CDATA[<LANG>Previous</LANG>]]></NAME> > No (except by invoking an XML parser via an extension function). This habit of putting markup inside a CDATA section is to be strongly discouraged. The purpose of CDATA is to tell the parser that the "<" and ">" are ordinary data characters, not special markup characters. Using CDATA to hold XML is therefore always going to cause trouble. Mike Kay Software AG 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
|