Python: Print XML element to string

0 Comments

Just a little snippet that I used before but had trouble finding.

1.from xml.etree import ElementTree
2. 
3.ElementTree.tostring(xml_root_or_element)
 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog