Lines Matching refs:element
37 def find_child_with_attribute(element, tag_name, namespace_uri,
39 for child in get_children_with_tag(element, tag_name):
78 """Get the manifest element."""
136 def get_indent(element, default_level):
138 if element is not None and element.nodeType == minidom.Node.TEXT_NODE:
139 text = element.nodeValue
160 # Get or insert the uses-sdk element
165 element = uses_sdk[0]
167 element = doc.createElement('uses-sdk')
169 manifest.insertBefore(element, manifest.firstChild)
177 min_attr = element.getAttributeNodeNS(android_ns, 'minSdkVersion')
181 element.setAttributeNode(min_attr)
188 target_attr = element.getAttributeNodeNS(android_ns, 'targetSdkVersion')
200 element.setAttributeNode(target_attr)