Reading CDATA from a XML file

  • Thread starter Thread starter yosh
  • Start date Start date
Y

yosh

Im recieving a XML file from a webserver wich contains a CDATA
element wich contains more XML code...
the problem is that i have no idea on how to get the things in the
cdata field so i can use it as a "normal" xml document

Ive heard i should use xmldatadocument wich i have tried witout
success.

Does anyone have any ideas on how to deal with CDATA?
 
You don't need to do anything. When you reference the node value
in the XmlDocument, you'll find the CDATA tags aren't included. Your
XPath queries should not treat the CDATA tag as a node tag.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top