|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Operating on XML, or XML::Simple is too simple!by BaldPenguin (Friar) |
| on Aug 05, 2005 at 16:25 UTC ( [id://481360]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm not sure how much data you are going to change, but I myself would/could use XML::LibXML to read in the Doc then use XML::LibXML::XPathContext to pull the node of data I want to play with. The node stays attached inside the doc, so I can make the changes and then re-output the document using toString() or whatever.
Don WHITEPAGES.COM | INC Everything I've learned in life can be summed up in a small perl script!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||