|go ahead... be a heretic|
Help with XML Parsingby dbonneville (Acolyte)
|on Jul 20, 2007 at 20:21 UTC||Need Help??|
dbonneville has asked for the wisdom of the Perl Monks concerning the following question:
Hello! I'm a brand new to Perl, but not to programming.
So far, I'm able to read in and parse and XML doc to the screen, but I'm currently at a loss as what to do next. I've been searching for some help, but am a little directionless as all-things-Perl is too new for me yet. I probably passed by some good help and didn't know it already...
Here what I'm trying to do:
- Load in an XML file
- Parse the file and look for content in it (recordsets)
- Take those records that match certain criteria and
WRITE them to a new XML file on the server.
- Do this about 30 times, for different criteria, from the master XML file from the first step.
As of yet, I can't find a way to do this. I'm not looking for hand-holding, but some good info or tips or tutorials to get me going, so I can then formulate the next intelligent question.
I started from ground zero today, with utterly no knowledge of Perl. I got it running on my PC and got this far (which to me was a LOT):