Python how to get XML Namespace using etree -
i have no chance access namespace definitions in python using xml.etree.elementtree
:
attributes of rootelement:
xmlns="http://www.adv-online.de/namespaces/adv/gid/6.0" xmlns:gml="http://www.opengis.net/gml/3.2" test="xxx"
rootelemt.attrib contains attribute "test" ns-definitions ignored parser.
i have written lot of functions work etree.elements switching type last option.
i know lxml capable of getting namespaces im scared of using because don't want install dependencys on users computer.
is there lib capable of doing job.
thanks
Comments
Post a Comment