Page 1 of 1

Accessing data from CData sections

Posted: Fri May 13, 2005 7:59 am
by hannahd
Hello I have an xml file like this:

<?xml version="1.0" encoding="iso-8859-1"?>

<entry>

<headline>headline</headline>

<content>
<![CDATA[

<B>This is where the content goes</B>

]]>

</content>
</entry>

And I am trying to output it in html using PHP and DOM XML, but I have no idea how to access the data from the CDATA section using the DOM.

Please help

Thanks :)

Hannah