StandardNode¶
-
class
xsdata.formats.dataclass.parsers.nodes.
StandardNode
(datatype, ns_map, derived, nillable)[source]¶ XmlNode for any type elements with a standard xsi:type.
- Parameters
datatype (
DataType
) – Standard xsi data typens_map (
Dict
) – Namespace prefix-URI mapderived (
bool
) – Specify whether the value needs to be wrapped withDerivedElement
nillable (
bool
) – Specify whether the node supports nillable content
-
bind
(qname, text, tail, objects)[source]¶ Build the object tree for the ending element and return whether the result was successful or not.
This entry point is called when an xml element ends and is responsible to parse the current element attributes/text, bind any children objects and initialize new object.