ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-Tutor
python-Tutor
=?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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved