Expand description
Utilities for detecting ISO 20022 message type from raw XML.
ISO 20022 messages are wrapped in a root element (e.g. <Document> or
<AppHdr>) whose xmlns attribute carries the message namespace in the
form:
urn:iso:std:iso:20022:tech:xsd:{family}.{msg}.{variant}.{version}For example urn:iso:std:iso:20022:tech:xsd:pacs.008.001.13 yields:
- family →
"pacs" msg_id→"008"- variant →
"001" - version →
"13"
Structs§
- Message
Id - Message type identifier extracted from an ISO 20022 XML namespace URI.
Functions§
- detect_
message_ type - Extract the ISO 20022 message type from the root element’s
xmlnsattribute. - parse_
namespace - Parse an ISO 20022 namespace URI into a
MessageId.