cXML

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
payloadID required
signatureVersion restriction of xs:NMTOKEN optional
timestamp required
version 1.2.033 optional
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.

Used By

Element CopyRequest

Source

<xs:element name="cXML">
  <xs:complexType>
    <xs:sequence>
      <xs:choice>
        <xs:sequence>
          <xs:element ref="Header"/>
          <xs:choice>
            <xs:element ref="Message"/>
            <xs:element ref="Request"/>
          </xs:choice>
        </xs:sequence>
        <xs:element ref="Response"/>
      </xs:choice>
      <xs:element ref="ds:Signature" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="version" default="1.2.033"/>
    <xs:attribute name="payloadID" use="required"/>
    <xs:attribute name="timestamp" use="required"/>
    <xs:attribute name="signatureVersion">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="1.0"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute ref="xml:lang"/>
  </xs:complexType>
</xs:element>

Sample