IDMW 2.0 XML-Schema Dokumentation
MESSAGE Element
IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > GLOBAL_DEFINITION Element > MESSAGES Element : MESSAGE Element
Description
This element is used to store a message.
Namespace (none)
Diagram
LANGUAGE Element Sequence MESSAGE_TEXT Element Sequence MESSAGE Element
Overview
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]
Attributes
NameTypeUseDefaultFixedDescription
MESSAGE_NORestriction of xs:nonNegativeIntegerrequired  
This attribute is used to identify the message.    D   nonNegativeInteger
   P   
   M   [0:99999]
LEVELRestriction of xs:nonNegativeIntegeroptional  

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

   D   nonNegativeInteger
   P  
   M   [0:1]
Source
<xs:element name="MESSAGE" maxOccurs="99999" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <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>
See Also
MESSAGES ElementGLOBAL_DEFINITION ElementT_NEW_CATALOG ElementIDMW 2.0 XML-Schema Dokumentation