[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Detecting the tags inside CDATA section

Subject: RE: Detecting the tags inside CDATA section
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 13 Jul 2003 09:39:58 +0100
RE:  Detecting the tags inside CDATA section
> I have a problem regarding a CDATA section in an XML file...
> 
> All the data inside the CDATA section here is actually an XML 
> document that I want to parse and convert to a html file.

You need to parse the XML document, extract text node containing the
CDATA section, and then pass the string value of this text node to an
XML parser and parse it again.

By putting the nested XML document inside a CDATA section, you are
telling the system "the angle brackets in here are not to be treated as
markup". You do want them treated as markup, so why are you putting them
in a CDATA section?

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.