* On Tue, Apr 27 2010, Klaus wrote: > Hi everybody, > > I have already posted on comp.lang.perl.modules, but if the moderator > agrees, I think this would be on topic for this newsgroup as well. > > I have released XML::Reader (ver 0.34) > http://search.cpan.org/~keichner/XML-Reader-0.34/lib/XML/Reader.pm > > To explain the module, I have created a small demonstration program > that extracts XML-subtrees (for example any path that ends with '/.../ > a') memory efficiently. > > An XML document can be very large (possibly many gigabytes), but is > composed of XML-subtrees, each of which is only a few kilobytes in > size. The demonstration program reads XML-subtrees one by one, only > the memory for one subtree is held at a time. Each subtree can then be > processed further at your convenience (for example by using regular > expressions, or, by using other XML-Modules, such as XML::Simple). In > principle, XML::Reader has no event driven callback functions, you > have to loop over the XML-document yourself and the resulting XML- > subtree is represented in text format.
So apparently I am rather behind on module-authors, but I just thought I'd ask if you've taken a look at XML::Twig? That seems to be the main module for this sort of thing, and seems to have an established userbase. Maybe patches to that would be more productive than reinventing the wheel? Regards, Jonathan Rockway -- print just => another => perl => hacker => if $,=$"