This is interesting: I was actually thinking of writing a module similar to XML::DOM::Twig (which is hopelessly out of date BTW), on top of XML::LibXML. It would use as many of XML::LibXML native functions as possible, but add convenience methods from XML::Twig. I found that using XPath in XML::LibXML makes it really easy to access data in the XML tree, but that you then have to use the DOM for modifying it, which is verbose and clumsy.
Does this make sense, and which methods would you think would be most helpful? For eaxmple I really miss XML::Twig's version of insert when I use the DOM. prefix is another really useful one that can't be done simply.
In reply to Re: Re: How to parse XML coming from a socket?
by mirod
in thread How to parse XML coming from a socket?
by vadim_t
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |