W3cubDocs

/Haxe Python

Element

package python.lib.xml.etree

import python.lib.xml.etree.ElementTree

Available on python

Variables

attrib:Dict<String, String>

tag:String

text:Null<String>

Methods

copy():Element

find(match:String, ?namespaces:Dict<String, String>):Null<Element>

findall(match:String, ?namespaces:Dict<String, String>):Array<Element>

get<T>(key:String, ?def:T):T

getroot():ElementTree

items():Array<Tuple2<String, String>>

iter(tag:String):NativeIterable<Element>

iterfind(tag:String, ?namespaces:Dict<String, String>):NativeIterator<Element>

keys():Array<String>

set(key:String, val:String):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/lib/xml/etree/Element.html