PrimitiveNode# class xsdata.formats.dataclass.parsers.nodes.PrimitiveNode(var, ns_map, mixed, derived_factory)[source]# XmlNode for text elements with simple type values. Parameters: var (XmlVar) – The xml var instance ns_map (Dict) – The element namespace prefix-URI map mixed (bool) – Specifies if this node supports mixed content derived_factory (Type) – The derived element factory bind(qname, text, tail, objects)[source]# Bind the parsed data into an object for the ending element. This entry point is called when a xml element ends and is responsible to parse the current element attributes/text/tail content. Parameters: qname (str) – The element qualified name text (Optional[str]) – The element text content tail (Optional[str]) – The element tail content objects (List) – The list of intermediate parsed objects Return type: bool Returns: Whether the binding process was successful or not. child(qname, attrs, ns_map, position)[source]# Raise an exception if there is a child element inside this node. Return type: XmlNode