Python - XML

Card Puncher Data Processing

Parse

# File
tree = ET.parse('../resources/SoapXml.xml')
root = tree.getroot()

# String
root = ET.fromstring(line)

Library

https://lxml.de/

Documentation / Reference







Share this page:
Follow us:
Task Runner