Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Expatby aardvark (Pilgrim) |
on Mar 13, 2001 at 09:20 UTC ( [id://64064]=note: print w/replies, xml ) | Need Help?? |
For this particular task, I'd look at the XML::XPath modules. XPath allows you to search through a tree and find the nodes you need. The way I understand it, XPath is to XML trees as regular expressions are to strings. The XPath syntax is not very hard to figure out. You can read the specs here.
Here is an example from the XML::XPath docs
I think XPath is really interesting stuff and if you post some of the xml you are dissecting, I'll try to help you out as best I can. You might also want to give the perl-xml mailing list a quick search. Get Strong Together!!
In Section
Seekers of Perl Wisdom
|
|