Page last modified 16:49, 15 Oct 2013 by kari_admin

schemaLocation attribute

    Table of contents
    No headers

    schemaLocation can be given as an attribute in an XML document's root element. The attribute consists of a pair of values: The first value of each pair is the namespace for which the second value gives the name or location of the corresponding schema. The second part is optional.

    ISO 20022 files usually contain only one of these namespace-schema pairs. For some banks this attribute is mandatory. Correct formats of the root element and its attributes for pain.001 credit transfer messages are:

    pain.001.001.02

    <Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.001.001.02
    pain.001.001.02.xsd">

    pain.001.001.03

    <Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03
    pain.001.001.03.xsd">
    Menu