|Syntactic Confectionery Delight|
XML Parsingby orthanc (Monk)
|on Apr 12, 2000 at 15:12 UTC||Need Help??|
orthanc has asked for the
wisdom of the Perl Monks concerning the following question:
Fellow Perl Hackers,
I want to parse an XML file and pick out the data so I can verify it, after which I need to place the data back into the XML.
I've tried with XML::Simple::XMLin which returns a nice hash but I need a method to traverse this so I can keep the same hierarchy.
It would be nice to use this hash as I can then use XMLout to regen the XML.
Is this a good method or is XML::Parser better?
Any help appreciated