This code is based off the xml-parser here: https://github.com/segmentio/xml-parser. Please see that page for details of the JSON output. The parse function takes an ...
Parse Document Model (Python) provides Pydantic models for representing text documents using a hierarchical model. This library allows you to define documents as a hierarchy of (specialised) nodes ...