[Tutor] XML: Expletive Deleted

doug shawhan doug.shawhan at gmail.com
Mon Jun 12 16:34:23 CEST 2006


Kent, Danny, Lawrence, et. al.

Thanks!

I was kind of cringing as I sent this plaint/rant, but it seems I'm not the
only one who has had trouble grokking DOM. I spanked the problem temporarily
with regex, but can now actually fix it properly.

Appreciate all the help!

On 6/10/06, Kent Johnson <kent37 at tds.net> wrote:
>
> In my opinion the standard DOM models are the most awkward way to deal
> with XML. If you are trying to get data from HTML on a web page, look at
> BeautifulSoup. For general XML processing, look at ElementTree. They are
> both simpler than DOM.
> http://www.crummy.com/software/BeautifulSoup/
> http://effbot.org/zone/element.htm
>
> Kent
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060612/3b828444/attachment.htm 


More information about the Tutor mailing list