Searched refs:etree (Results 1 – 3 of 3) sorted by relevance
58 import lxml.etree as etree namespace60 root = etree.Element('resources')62 root.addprevious(etree.Comment('This file is AUTO GENERATED, DO NOT EDIT MANUALLY.'))64 item = etree.SubElement(root, 'public')68 data = etree.ElementTree(root)
89 import lxml.etree as etree namespace90 doc = etree.parse(filename)94 if resource.tag == 'declare-styleable' or resource.tag is etree.Comment:
22 import lxml.etree as et