B
bestia9
Hello,
I need a little help. I want to read the CDATA from an XML file :
....
<EpgDescription>
<![CDATA[ Matrix]]>
</EpgDescription>
....
I use this code to read the CDATA:
Node EpgDescription =
XPathAPI.selectSingleNode(ScheduleNodeListNode,"EpgDescription");
Node firstchild = EpgDescription.getFirstChild();
System.out.println("start
:"+firstchild.getNodeName()+"-"+firstchild.getNodeValue()+" :end");
The problem is when i Print my node name and my node value on the
screen. I see this:
start :#text-
:end
How can I print Matrix?
Thx
I need a little help. I want to read the CDATA from an XML file :
....
<EpgDescription>
<![CDATA[ Matrix]]>
</EpgDescription>
....
I use this code to read the CDATA:
Node EpgDescription =
XPathAPI.selectSingleNode(ScheduleNodeListNode,"EpgDescription");
Node firstchild = EpgDescription.getFirstChild();
System.out.println("start
:"+firstchild.getNodeName()+"-"+firstchild.getNodeValue()+" :end");
The problem is when i Print my node name and my node value on the
screen. I see this:
start :#text-
:end
How can I print Matrix?
Thx