CPAN is your friend. I found XML::Ximple and XML::SAX::PurePerl in 2 minutes from the search site. I've never heard of Ximple, but I have heard of XML::SAX::PurePerl and may even have used it.
Better still, look through here and search for "XML". You want modules with a "p" as the 3rd letter of the DSLIP value (those five little letters). They are pure perl, although you will also need to check that their dependencies are pure perl.
On the whole, I suspect that your simplest way of doing things is going to be XML::SAX::PurePerl. If you find the SAX interface confusing (I seem to remember that all XML was confusing to me, last time I looked, but that may say more about me than XML), then see if you can use XML::Simple. It requires XML::SAX, but I think you can make XML::SAX wrap around XML::SAX::PurePerl.
andramoiennepemousapolutropon | [reply] |
You might want to look at XML::Parser::Lite. This is part of the SOAP::Lite package but is able to be installed as a single file on its own. It has a similar interface to XML::Parser and in principle it might be possible to amend any module that uses the latter to use it.
/J\
| [reply] |
Hi,
I've got good experiences with XML::Mini. It's not the fasted parser I've seen, but sufficient for (most) simple tasks (regarding that it's written in Pure Perl, the performance is not that bad). And it supports paths, which comes in handy sometimes.
HTH,
-- JaWi
"A chicken is an egg's way of producing more eggs." | [reply] |