I am looking for a way to read the XML version in the header using the xml.sax parser in python.
**<?xml version="1.0"?>**
<root>
<child>Hello</child>
<child2>World</child>
</root>
For now, whenever I try to read in XML, it just skips the header and goes to the root of the node.
Any help would be greatly appreciated.
Thank.
source
share