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)96 import lxml.etree as etree namespace98 root = etree.Element('resources')100 root.addprevious(etree.Comment(' Copyright (C) 2020 The Android Open Source Project\n\n' +114 overlayable = etree.SubElement(root, 'overlayable')117 policy = etree.SubElement(overlayable, 'policy')[all …]
101 import lxml.etree as etree namespace102 doc = etree.parse(filename)106 if resource.tag == 'declare-styleable' or resource.tag is etree.Comment:
22 import lxml.etree as et