Standardizing XML
Jonathan Ballet
multani at free.fr
Sun Apr 15 14:13:12 EDT 2007
Le 15 Apr 2007 11:02:20 -0700,
"ZeeGeek" <ZeeGeek at gmail.com> a écrit :
> Thanks for correcting me. I worded it inproperly. For example, in
> the code returned by Live Space, they use <br> instead of <br /> so
> that Blogger will complain that this tag is not valid because it
> doesn't have a closing tag. Another example is that the contents of a
> lot of the tag attributes like "color" and "size" are not surrounded
> by quotes.
Maybe you can try BeautifulSoup module which aims to handle things like
that : http://www.crummy.com/software/BeautifulSoup/
- Jonathan
More information about the Python-list
mailing list