ANSI/X9 TR-38-4:2009
XML is a technical standard defined by W3C (the World Wide Web Consortium) thatcan be used for the physical representation (i.e. the syntax) of standardized ISO 20022Messages. XML leaves a lot of freedom for the exact way it is used in a particularapplication. Therefore, merely stating that XML is used is not sufficient to guaranteepredictability; one must also explain HOW it will be used.
This Technical Specification contains a set of XML design rules, called ISO 20022XML. These design rules define how a standardized Message - described by a MessageDefinition in UML1 according to the Modelling Guidelines of ISO/TS 20022-3 must berepresented as a valid ISO 20022 compliant XML document.
A valid XML document (referred to hereafter as XML instance or instance) asdefined by W3C is any XML document that has an associated description and thatcomplies with the constraints expressed in that description. The associated descriptionin this case is derived from the Message Definition, which is originally described inUML.
This Technical Specification also describes how (a part of) the UML MessageDefinition can be converted into a W3C XML Schema. This XML schema will thenmake it possible to use a validating XML schema parser to automatically verify that agiven XML instance complies with (a subset of) the constraints described in theMessage Definition.
DTDs (Document Type Definitions) could also be used to validate partial compliance ofan XML instance to its corresponding Message Definition. However, because of thelimited validation functionality DTDs offer, this document does NOT cover XMLDTDs.
Note that this document merely explains how a given Message Definition Diagram willbe mapped into XML. It doesnt explain how to create a Message Definition Diagram.This information can be found in ISO/TS 20022-3 Modelling guidelines.