in reply to How to convert HTML to XML w/ Perl?

The HTML::Tree suite seems to have some XML capabilities. HTML::Element has an XML dump method: $h->as_XML(), which might be a first step, depending on what you want to do.

There is also a HTML::DOMbo module, which turns your HTML tree into an XML tree, and AFAICS, lets you use all of the DOM tools you want on it.

While I have been using HTML::Tree a lot recently (and I highly recommend it for doing most anything with HTML), I haven't experimented with the XML stuff yet. But it seems promising.

Replies are listed 'Best First'.
Re: Re: How to convert HTML to XML w/ Perl?
by lacika (Initiate) on Feb 07, 2004 at 16:16 UTC
    First of all, I would like to thank you guys, Zaxo, Arturo, Anonymous Monk and Skillet Thief for the prompt response. I will try the modules you suggested and hopefully come back with a big smile on my face. Your help was very much appreciated! See you soon!