[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] Suggested XML modules... (2011)



On Jun 7, 2011, at 3:52 PM, Dan Linder wrote:
> I'll have to investigate the XML-Twig module to see if it is pure Perl or not - it installed under Strawberry Perl and I didn't notice it pulling in a binary compiled version of any files.  (Jay - Twig appears to be your XML module of choice - any thoughts on it you want to share?)

I used XML::Twig for *everything* for many years. It's not pure perl -- it sits on top of expat, which is written in C.

Looks like Christopher already wrote you a solution in XML::XPath? Are you all set then?

Note that xpath is implemented in lots of libraries (Perl and otherwise). It's available in XML::Twig too -- see get_xpath().  xpath rocks.   :)

   http://search.cpan.org/~mirod/XML-Twig-3.38/Twig_pm.slow#XML::Twig::XPath

I haven't done any XML work since I left Omni Hotels back in Oct 2010. They use the hell out of XML, but since I've left I've worked with more JSON than XML.   -shrug-

HTH,

j