=?ISO-8859-1?B?UmU6IFtUdXRvcl0gUGFyc2luZyBIVE1MIGZpbGU=?=
by Magnus Lycka other posts by this author
Dec 12 2003 9:23AM messages near this date
[Tutor] Reuse of callback
|
[Tutor] Re: Tutor Digest, Vol 5, Issue 39
Chris Heisel <chris@[...].org> wrote:
> Actually, the HTML might very well be XHTML. The files I've examined
> have been valid XHTML, however the files were hand coded by a variety of
> folks so some of them might not be valid, would that cause the dom
> handler to spaz out?
It might, but so might any RE-based program you
write. I'd suggest using a tried and tested parser
or dom as you have been discussing. If you have
problems with data, I suggest adding a step to
check and fix data before the processing.
--
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/ mailto:magnus@[...].se
_______________________________________________
Tutor maillist - Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
|