Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
---|
|
||||
Mixin abstract class for enabling ElementTree and XPath API on XSD components.
:cvar text: The Element text. Its value is always `None`. For compatibility with the ElementTree API. :cvar tail: The Element tail. Its value is always `None`. For compatibility with the ElementTree API.
Instance Methods | |||
|
|||
|
|||
|
Class Variables | |
text = None
|
|
tail = None
|
|
namespaces = {}
|
|
xpath_default_namespace = None
|
Method Details |
|
Alias of the *name* attribute. For compatibility with the ElementTree API.
|
Returns the Element attributes. For compatibility with the ElementTree API.
|
Gets an Element attribute. For compatibility with the ElementTree API.
|
Creates and iterator for all XSD subelements matching the path. :param path: an XPath expression that considers the XSD component as the root element. :param namespaces: is an optional mapping from namespace prefix to full name. :return: an iterable yielding all matching XSD subelements in document order.
|
Finds the first XSD subelement matching the path. :param path: an XPath expression that considers the XSD component as the root element. :param namespaces: an optional mapping from namespace prefix to full name. :return: The first matching XSD subelement or ``None`` if there is not match.
|
Finds all XSD subelements matching the path. :param path: an XPath expression that considers the XSD component as the root element. :param namespaces: an optional mapping from namespace prefix to full name. :return: a list containing all matching XSD subelements in document order, an empty list is returned if there is no match.
|
Creates an iterator for the XSD element and its subelements. If tag is not `None` or '*', only XSD elements whose matches tag are returned from the iterator. Local elements are expanded without repetitions. Element references are not expanded because the global elements are not descendants of other elements.
|
Creates an iterator for the child elements of the XSD component. If *tag* is not `None` or '*', only XSD elements whose name matches tag are returned from the iterator.
|
Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
---|
Copyright(C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez | https://arnocan.wordpress.com |
Generated by Epydoc 4.0.4 / Python-3.8 / fedora27 on Fri Dec 13 15:25:24 2019 | http://epydoc.sourceforge.net |