xml.QName¶
The xml.QName class represents XML qualified names.
-
class
xml.QName(unicode local_name, unicode namespace_name=u'', unicode prefix=u'')¶ Constructs a qualified name. local_name, namespace_name and prefix specify the respective parts of the qualified name and must be either a native str or None.
Attributes¶
-
xml.QName.local_name¶ Returns the local name part of the qualified name.
-
xml.QName.namespace_name¶ Returns the namespace name part of the qualified name.
-
xml.QName.prefix¶ Returns the prefix part of the qualified name.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__