XML::Parser and SAX are the two primary distributions that do XML parsing. As for writing XML, XML::Writer has had good reviews. If you need XPath, there's modules for that, too.
Personally, I'm an XML::Parser man, but that's primarily because it's the first one I used and it's satisfied all my needs thus far.
- In general, if you think something isn't in Perl, try it out, because it usually is. :-)
- "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"
| [reply] |
Perl-XML Frequently Asked Questions seems to fit your case. Its abstract:
This document aims to provide answers to questions that crop up regularly on the 'perl-xml' mailing list. In particular it addresses the most common question for beginners - "Where do I start?"
Flavio (perl -e 'print(scalar(reverse("\nti.xittelop\@oivalf")))')
Don't fool yourself.
| [reply] |
Howdy!
I don't have much call to muck about with XML, but the bit
I've done has been with XML::Twig, and it has been
satisfactory for my needs. You can learn more at
http://www.xmltwig.com. mirod may chime in with more...
| [reply] |
If your remote side is a webservice, SOAP::Lite may be an option for you.
| [reply] |
For ease of use, I like XML::Simple. It will read and write, but there are some XML constructs that it just can't handle, like content and other elements within an element.
| [reply] |