PyDocs

Nav

Structured Markup Processing Tools

QName

  • QName(text_or_uri, tag=None)
Qualified name wrapper.

This class can be used to wrap a QName attribute value in order to get
proper namespace handing on output.

*text_or_uri* is a string containing the QName value either in the form
{uri}local, or if the tag argument is given, the URI part of a QName.

*tag* is an optional argument which if given, will make the first
argument (text_or_uri) be interpreted as a URI, and this argument (tag)
be interpreted as a local name.
0 Examples
No examples for xml.etree.ElementTree/QName.
See Also
No see-alsos for xml.etree.ElementTree/QName
0 Notes
No notes for QName