How use XML parsing tools on this one specific URL?

Paul Boddie paul at boddie.org.uk
Mon Mar 5 11:39:54 CET 2007


On 4 Mar, 20:21, Nikita the Spider <NikitaTheSpi... at gmail.com> wrote:
> In article <1173030156.276363.174... at i80g2000cwc.googlegroups.com>,
>
> > I can't validate it and xml.minidom.dom.parseString won't work on it.

[...]

> Valid XHTML is scarcer than hen's teeth.

It probably doesn't need to be valid: being well-formed would be
sufficient for the operation of an XML parser, and for many
applications it'd be sufficient to consider the content as vanilla XML
without the XHTML overtones.

Paul




More information about the Python-list mailing list