Closed codedust closed 2 years ago
When parsing documents that are not xdf:xdatenfelder.stammdatenschema.0102, is there any reason to switch from FIMStructure based parsing to FIMFieldGroup based parsing?
xdf:xdatenfelder.stammdatenschema.0102
FIMStructure
FIMFieldGroup
else: self.form.append(FIMFieldGroup( self.parsed_xml.children[0].xdf_datenfeldgruppe, self))
https://github.com/LilithWittmann/ozg/blob/master/ozg/xdatenfelder/parser.py#L452-L453
Because xdf:datenfeldgruppe ist the highest level element
xdf:datenfeldgruppe
When parsing documents that are not
xdf:xdatenfelder.stammdatenschema.0102
, is there any reason to switch fromFIMStructure
based parsing toFIMFieldGroup
based parsing?https://github.com/LilithWittmann/ozg/blob/master/ozg/xdatenfelder/parser.py#L452-L453