akbar wrote:
> Hi,
>
> I have Document. If I print it like this:
>
> print doc.toprettyxml(" ")
>
> I will get this:
> <a>
> <b>
> <c>
> blablablabla
> </c>
> </b>
> </a>
>
> What do I have to do if I want to print it like this:
> <a>
> <b>
> <c>blablablabla</c>
> </b>
> </a>Use a SAX-Handler, parse it yourself and pretty-print your own. You _could_ use DOM, but I don't think its needed here. Diez -- http://mail.python.org/mailman/listinfo/python-list
