Welcome to xmltwig.org
The XML::Twig page
XML::Twig: XML, The Perl Way. XML-Twig is a Perl module that subclasses XML-Parser to allow easy processing of XML documents of all sizes. A flush method allows dumping of a completely processed sub-document to be printed, thus allowing processing of documents of any size. XML::Twig comes with a tutorial and an FAQ so try it out and let me know what you think of it!
Other Modules
Quite a few modules, some released on CPAN and some not. Lots of ways to add XPath support to various existing modules.
CPAN modules:
- XML::DOM::XPath: XPath support for XML::DOM,
- Tree::XPathEngine: XPath engine for trees,
- Tree::DAG_Node::XPath: XPath support for Tree::DAG_Node trees,
- XML::XPathEngine: XPath support for XML-like (DOM) trees,
- HTML::TreeBuilder::XPath: XPath support for HTML::TreeBuilder, App::xml_grep2: grep XML files using XPath,
- Params::Style: comverts between perl_style and JavaStyle names.
Other Sections
- Articles: I have published a number of articles in Boardwatch Magazine and on xml.com, you can find links to all of them in this section, along with the Ways to Rome series, that shows code performing similar tasks with different Perl modules,
- Talks: a selection of recent talks,
- Tutorials: you can also find here a tutorial, on Processing XML with Perl, which I gave at the XML Conference, Perl University and YAPC and (of course!) the XML::Twig tutorial,
- Reviews: book reviews, only Perl & LWP at the moment,
- Conférences: compte-rendus de conférences, en français,
- Tools: generic tools, written in Perl of course.
And of course...
The obligatory résumé.