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>

Thank you.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to