There's more than one way to do things | |
PerlMonks |
Re: XML::Simple find and addby reasonablekeith (Deacon) |
on Dec 05, 2007 at 10:59 UTC ( [id://655067]=note: print w/replies, xml ) | Need Help?? |
KeyAttr should be 'id', (which is set by default anyway), you also need to set on ForceArray (a single 'tc' element would parse differently otherwise, have a look in the docs.)
The total code is then as simple as...
--- my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom
|
|