Module schema_analysis::helpers::xml [−][src]
Expand description
A module for xml cleaning helper functions. Check individual functions for details.
Functions
clean_empty_structs_in_field | When a tag is empty, the parser interprets it as as an empty Schema::Struct. |
clean_solitary_nested_values | XML documents often result in uselessly nested values because the ‘content’ of a tag
that isn’t itself a tag is put into the |
cleanup_xml_schema | A wrapper function that applies all XML cleaning transformations. |
turn_duplicates_into_sequence_field | XML documents do not have proper sequences, and an ‘array’ or ‘list’ is simply represented as a tag appearing multiple times. |