XML traversing doubt

wxdqz

New Member
Hi,

I got a doubt in Node traversing

i ve to remove certain child nodes from a given node

for example:

<RECORD>
<FIELD NAME="EMPNO">001</FIELD>
<FIELD NAME="EMPNAME">Mr.XYZ</FIELD>
<FIELD NAME="SALARY">10000</FIELD>
</RECORD>

i parsed the above given xml and have a node object from it.

now the problem is


i've to remove the the <FIELD> where the Attribute Name="EMPNO" in the runtime.

please tell me how to do so?

is it possible to use removeChild()...

if so how?

please help

thanking you

saju.m
 
Back
Top