indent in xml

André Risnes andre.risnes at
Thu Aug 2 09:22:47 CEST 2001

"sdf" <wqh-2 at> wrote in message
news:mailman.996723367.12395.python-list at
> and '',the xml file is:
> <books>
>   book>
  ^^^ You're missing a '<'

Also, IIRC, XML parsers are supposed to return whitespace and
newlines etc. You could just ignore them in your processing code.

André Risnes

More information about the Python-list mailing list