Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: XML-Twig: more efficient tree processing

by ambrus (Abbot)
on Aug 08, 2012 at 21:17 UTC ( #986364=note: print w/ replies, xml ) Need Help??


in reply to Re: XML-Twig: more efficient tree processing
in thread XML-Twig: more efficient tree processing

IMO, if you want incremental parsing with callbacks because your tree does not fit in the memory, XML::LibXML is much harder to use than XML::Twig.


Comment on Re^2: XML-Twig: more efficient tree processing
Re^3: XML-Twig: more efficient tree processing
by Anonymous Monk on Aug 09, 2012 at 08:04 UTC

    Yup, its quite laborious, pretty much like using raw XML::Parser (or HTML::Parser)

    Where as in Twig you'd say I only want trees out of '/foo/bar/bar' with LibXML (like XML::Parser) you have to build those trees yourself with XML::LibXML::SAX::Parser -- although, there is no reason a XML::Twig type API couldn't be built on top of XML::LibXML::SAX::Parser, its just extra work, given that Twig already exists :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-07-28 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (189 votes), past polls