PrimitiveNode¶
- class xsdata.formats.dataclass.parsers.nodes.PrimitiveNode(var, ns_map, derived_factory)[source]¶
XmlNode for text elements with primitive values like str, int, float.
- Parameters
- 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.