Re: Help with accessing an unknown set of data generated by XML::Simple
Francisco Obispo <[email protected]> Thu, 23 Feb 2012 16:41:42 -0800
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
I personally use XML::LibXML for both reading and writing, to keep myself low on dependencies.. Generating XML documents with XML::LibXML is time consuming the first time, but it works like a charm if you're able to automate it. Like I said on a previous email, I believe the libxml and xpath combination is the way to go ;-), unless we're talking about a fairly large document for which I use XML::SAX (with the XS interface). Francisco On Feb 23, 2012, at 4:33 PM, Grant McLean wrote: > For writing out XML, XML::Simple will cause you nothing but pain, and > XML::LibXML will probably be quite fiddly and time-consuming. I have > had success with XML::Generator and also using a templating tool like > HTML::Mason or Template::Toolkit. If you have the luxury of working > with some type of schema then there are other options which could make > your life simpler - I've never been in that position myself. Francisco Obispo email: [email protected] Phone: +1 650 423 1374 || INOC-DBA *3557* NOC PGP KeyID = B38DB1BE _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs