Re: etree, lxml unexpected behaviour
Thank you for the clarification Stefan, I understand. -- http://mail.python.org/mailman/listinfo/python-list
Re: etree, lxml unexpected behaviour
Emanuele D'Arrigo wrote: > Hi everybody, I just tried the following: > import xml.etree.ElementTree as etree e = etree.fromstring('>>> xmlns:ans="anotherNamespace" ans:anotherAttr="2"/>') e.getchildren()[0].attrib > {'anAttr': '1', '{anotherNamespace}anotherAttr': '2'} > > Noti