Stefan Behnel <stefan...@behnel.de> added the comment:

lxml does not support the "default_namespace" option specifically (because its 
tree model preserves namespace prefixes), but it generally makes all 
(justifiable) serialisation options available to both tostring() and ET.write().

I think the same should apply to ElementTree. Both the "default_namespace" and 
"doctype" options seem useful regardless of the serialisation target.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36227>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to