as2fm.scxml_converter.scxml_entries.xml_utils.read_value_from_xml_arg_or_child
- as2fm.scxml_converter.scxml_entries.xml_utils.read_value_from_xml_arg_or_child(scxml_type: Type[ScxmlBase], xml_tree: _Element, tag_name: str, custom_data_types: Dict[str, StructDefinition], valid_types: Iterable[Type[ScxmlBase | str]], none_allowed: bool = False) str | ScxmlBase | None
Read a value from an xml attribute or, if not found, the child tag with the same name.
To read the value from the xml arguments, valid_types must include string.