xml and ![CDATA]

Hi

I have an xml file with the following element :

<paragraphSummary>

<![CDATA[><p>Today is Tuesday.</p>]]>

</paragraphSummary>

If I am using DOM how is it possible to obtain the data within <![CDATA... (that is ><p>Today is Tuesday.</p>).

As I understand it everything with <![CDATA... gets ignored by the parser but is there anyway to overcome it?

Cheers

Bal >

[483 byte] By [ksella] at [2007-9-26 3:18:38]
# 1
In the resulting DOM tree, you will find that your element <paragraphSummary> has a child node of type Node.CDATA_SECTION_NODE. If you do getNodeValue() on that particular child node, you will get the string declared inside the CDATA section.Good luck.
lk555 at 2007-6-29 11:32:53 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
thank you.
ksella at 2007-6-29 11:32:53 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...