D
Denis
Hi all,
I need to select a node from an xml file like this:
<ITEM NAME="A">
<PARAM NAME="xxx" VALUE="yyy"/>
</ITEM>
<ITEM NAME="B">
<PARAM NAME="zzz" VALUE="jjj"/>
<PARAM NAME="IS_VALID" VALUE="TRUE"/>
</ITEM>
I need to select all nodes with existing param named "IS_VALID"
I've then try to use this:
(say node is only one <ITEM> node)
node.selectSingleNode("PARAM/@NAME[.='IS_VALID']")
but node is always null...
I've tryed also with /PARAM and //PARAM but nothing changes!!
What I can do?
Thanks all,
DM
I need to select a node from an xml file like this:
<ITEM NAME="A">
<PARAM NAME="xxx" VALUE="yyy"/>
</ITEM>
<ITEM NAME="B">
<PARAM NAME="zzz" VALUE="jjj"/>
<PARAM NAME="IS_VALID" VALUE="TRUE"/>
</ITEM>
I need to select all nodes with existing param named "IS_VALID"
I've then try to use this:
(say node is only one <ITEM> node)
node.selectSingleNode("PARAM/@NAME[.='IS_VALID']")
but node is always null...
I've tryed also with /PARAM and //PARAM but nothing changes!!
What I can do?
Thanks all,
DM