In a fit of proxity (later treated with appropriate sedatives), I banged out a short little module that does for XML what HTML::TreeBuilder does for HTML. Now, 95% of the hell-code in HTML::TreeBuilder is for dealing with constructs (bad start- and end-tag omission) that don't occur in XML -- which is why XML::TreeBuilder is only a few lines! The dist's name, BTW, is XML-TreeBuilder. >From the README: XML::TreeBuilder ---------------- This module uses XML::Parser to make XML document trees constructed of XML::Element objects (and XML::Element is a subclass of HTML::Element adapted for XML). XML::TreeBuilder is meant particularly for people who are used to the HTML::TreeBuilder / HTML::Element interface to document trees, and who don't want to learn some other document interface like XML::Twig or XML::DOM. (BTW, I don't like the DOM. But I think I like Twig. But I'm lazy and I want to keep using the HTML::Element-style interface.) -- Sean M. Burke [EMAIL PROTECTED] http://www.spinn.net/~sburke/
