Thank you Holger and Stefan for your feedback. I needed to pull several elements from an XML document that had namespace and create a new XML document based on the pulled elements. This meant multiple find* calls and lost time in debugging when I forgot to include the namespace parameter. Because I used etree.fromstring, it provided the namespaces included in the original XML and it appeared to be a nice idea to use those prefixes. However that was merely a convenience and it does not apply universally. The namespace is what matters and I can define whatever prefixes that I want.
I hope I processed your feedback correctly. Please let me know if I have not. _______________________________________________ lxml - The Python XML Toolkit mailing list -- lxml@python.org To unsubscribe send an email to lxml-le...@python.org https://mail.python.org/mailman3/lists/lxml.python.org/ Member address: arch...@mail-archive.com