As a work-around, I can always remove the offending substring, but it's a kludge.
output = str(et.tostring(root, pretty_print=True)).replace(' ', '')
print(output)
_______________________________________________
lxml - The Python XML Toolkit mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/lxml.python.org/
Member address: [email protected]
