Michel Rodriguez has released a new version of XML::Twig, a "push-pull" tree-oriented Perl API to XML documents.
He describes XML::Twig as:
a tree interface to XML documents... if you want. It also lets
you dump parts of the tree, set callbacks during processing, both on tags and on subtrees, process only part of
the tree... you name it.
The new stable release includes some new features:
- Chaining handlers
- Pretty-print options
- HTML-style empty element output
- XPath-like attribute and string tests
XML::Twig will be available via CPAN as well as from the XML::Twig website.