Quantcast
Channel: Extracting XML Element and Attribute Data with Python 3 - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by falsetru for Extracting XML Element and Attribute Data with Python 3

http://docs.python.org/3/library/xml.etree.elementtree.html>>> from xml.etree import ElementTree as ET>>> elem = ET.fromstring('''<Atom3d ID="18" Mapping="43" Parent="2"...

View Article



Extracting XML Element and Attribute Data with Python 3

I'm looking to extract the extract the values of a particular attribute from a particular element, using Python 3.An example of the element in question (Atom3d):<Atom3d ID="18" Mapping="43"...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images