9951 explained code solutions for 126 technologies


pythonHow to parse xml


from xml.dom import minidom
parsed = minidom.parseString(xml_string)ctrl + c
parsed

will contain parsed XML object

parseString

parses specified XML string

import minidom

import module to manipulate XML

xml_string

XML string to parse