IDMW 2.0 XML-Schema Dokumentation
MESSAGES Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > GLOBAL_DEFINITION Element : MESSAGES Element
Description

The possible warnings and information are stored under this element.

The possible warnings and information notices with the corresponding text, the level and the unique identifier are stored under this element. 

Namespace (none)
Diagram
MESSAGE Element Sequence MESSAGES Element
Overview
MESSAGES optional

The possible warnings and information are stored under this element.

The possible warnings and information notices with the corresponding text, the level and the unique identifier are stored under this element. 

Sequence
MESSAGE 1..99999
This element is used to store a message.
MESSAGE_NO required Restriction of xs:nonNegativeInteger
This attribute is used to identify the message.    D   nonNegativeInteger
   P   
   M   [0:99999]
LEVEL optional Restriction of xs:nonNegativeInteger

The message level is specified here:
0 Notice/information
1 Warning

   D   nonNegativeInteger
   P  
   M   [0:1]
Sequence
MESSAGE_TEXT languagetext Complex Type
This element is used to store the message text.
Sequence
LANGUAGE 1..∞
This element is used to store texts in multiple languages. One element is created for each language. Language is specified in the attribute ISO_LANGUAGE_ID. The same languages must be specified for each element in the data pool.
ISO_LANGUAGE_ID required Restriction of xs:language
This attribute is used to specify the ISO code of the language in which the text is stored.    D   language
   P   [A-Z]{2}
   M   [2:2]
Sequence
TEXT xs:string
This element is used to store the text in the language specified in the LANGUAGE element of the ISO_LANGUAGE_ID attribute.    D   string
   P   [\S ]{1,60}
   M   [1:60]
Source
<xs:element name="MESSAGES" minOccurs="0" maxOccurs="1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="MESSAGE" maxOccurs="99999">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="MESSAGE_TEXT" type="languagetext" />
          </xs:sequence>
          <xs:attribute name="MESSAGE_NO" use="required">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="99999" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="LEVEL">
            <xs:simpleType>
              <xs:restriction base="xs:nonNegativeInteger">
                <xs:minInclusive value="0" />
                <xs:maxInclusive value="1" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>
See Also
GLOBAL_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation