how to edit xml tag's attribute value.

hi,

want to edit the xml tag's attribute value....
<setup>
<dtc1 NeName="dtc" ip="0.0.0.0">
</dtc1>

</setup>

here i want to change the NeName attribute to other value
my [icode]$autoChain=$autoXml->XMLin($autoChainXml, KeepRoot=>1);
$autoChain->{Setup}->{DTC1}->{NeName}="James";[/icode]

[icode]XMLout($autoChain, KeepRoot=>1);[/icode]

but changes dont happen....

dont know how to use ValueAttr

can u plz help me to resolve the problem

thanks,
Hanu
Sign In or Register to comment.