XML

Parsing XML data into the source structure is relatively easy because XML already has a tree structure. The parser only has to be told which tags in the XML document correspond to the nodes in the source structure.

Settings


(1) Check input format: If this checkbox is set, the input fields are checked against the format templates of the fields during parsing. If a value violates the format template of the field or exceeds the field length, an error is generated. If an error occurs, the profile will not be aborted immediately, but only at the end of phase 2 or after 50 errors. Attention: The use of format checking puts a strain on performance and should only be used if absolutely necessary.

(2) Min/Max XML check: Specifies whether the min/max settings (of fields and nodes) in the source structure should be checked.

(3) Remove blanks (XML will be normalized): Leading and trailing whitespaces (line breaks, tabs, spaces) are removed. Middle whitespaces (including multiple consecutive spaces) are replaced by a single space.

(4) Ignore namespaces: Any namespace prefixes that may exist are ignored for all elements of the XML document. Note: Must always be set for XML parser version "V4", see (6).

(5) XML tag for record: Specifies the tag name (element) below which you want to parse. An entry must be made here, even if the entire XML structure is to be parsed. If you want to parse a partial document, it must also conform to the XML convention (well-formed). Note: See also section Field "XML tag for record".

(6) Lobster XML parser: Specifies the version of the parser. New profiles should always use version "V3" or if licensed, version "V4". The entries "V1" and "V2" are only available for reasons of compatibility of existing profiles.

(7) Execute semantic checks: Incoming files can be checked with semantic rules. See section Semantic check .

Creating XML structure from sample XML file/schema


See section XML to XSD (to structure).

Note on XML structures


See section Match codes, unique/reserved names for XML.

See sectionsSource structure attributes for XML.