I just wanted to let you know that I have put the slides for my tutorial "Processing XML with Perl" on my site at http://www.xmltwig.com/tutorial/perl_xml/.

Ths is the latest version, which I presented at XML Europe 2001, so it includes a short "Perl 101" section that you might find quite amusing, the rest might be a bit more useful though ;--)

I will give the last part, on XML transformation Modules at YAPC::America::North.

Update: the title of the tutorial is of course "Processing XML with Perl" and not the other way round as initially stated!

Replies are listed 'Best First'.
Re: Tutorial Perl & XML
by sierrathedog04 (Hermit) on Jun 05, 2001 at 22:59 UTC
    Why no mention of our friend Mr. XML::DOM? Do you still dislike him?

    XML::DOM is the only Perl module I have ever used. Knowledge of the DOM is transferable to other languages and to other XML tools because DOM is an XML standard.

      I do mention XML::DOM: Introduction to XML::DOM.

      I must say I really don't like it though. I don't think the DOM is the right level of interface for the kind of transformation people usually do with Perl. It is way too low-level to be used safelly. It was designed to be used in browsers, not for generic XML transformation. Typically a well-placed comment will break a DOM transformation written by somebody not too experienced with it. DOM level 2 has some additional features that make it safer, but the module implements DOM level 1. Plus the interface is extremely Java oriented... and ugly!

      As for the portability argument I don't buy it.Why should the availability of a painful way to process XML in Java force you to use something equally painful in Perl? I like Perl because of its compactness and DWIMness, the DOM is just the opposite.