J
John Davison
When I call node.getNodeValue() on a CDATA node, I get the following
string:
<![CDATA[
<?xml version="1.0"?>
<RESPONSE>
<ERRORMSG>INVALID USER</ERRORMSG>
</RESPONSE>
]]>
Is there a convenient way to get just the CDATA text? In other words,
I want the following output without the CDATA tags:
<?xml version="1.0"?>
<RESPONSE>
<ERRORMSG>INVALID USER</ERRORMSG>
</RESPONSE>
Thanks in advance,
John
string:
<![CDATA[
<?xml version="1.0"?>
<RESPONSE>
<ERRORMSG>INVALID USER</ERRORMSG>
</RESPONSE>
]]>
Is there a convenient way to get just the CDATA text? In other words,
I want the following output without the CDATA tags:
<?xml version="1.0"?>
<RESPONSE>
<ERRORMSG>INVALID USER</ERRORMSG>
</RESPONSE>
Thanks in advance,
John