XML files¶
Overview¶
This page outlines our guidelines for parsing data from XML files to a primary model.
Strategy¶
Use the pydantic_xml library (from ts-lib-xml) to parse the XML into a pydantic_xml.BaseXmlModel primary model.
The BaseXmlModel should capture all XML attributes as well as element values.