Cloud Application Integration (On-Premises) : Service Development : Properties : Schema Component Properties : Element Declaration
Element Declaration
An element declaration associates an element name with a type definition. This symbol corresponds to the <element> declaration in an XML Schema and the ELEMENT declaration in a DTD.
An element declaration can contain attributes to specify a default value, a fixed value, and whether the element is abstract or nillable. If an element declaration is part of a content specification, the element declaration can contain attributes to specify occurrence constraints.
This field...
Specifies...
Name
The local name of the element followed by the namespace to which the element belongs. The Name value is equal to the expanded value (prefix plus local name) of the name attribute in the element declaration.
Default
The default value for the element. The Default value is equal to the value of the default attribute in the element declaration.
During data validation, if the element appears in an instance document but contains no content, Integration Server supplies the element with the Default value. If the element does not appear in the instance document, Integration Server does not augment the instance document.
Fixed Value
The fixed value for the element. The Fixed Value is equal to the value of the fixed attribute in the element declaration. When Integration Server validates an instance document against the schema, if the element appears, its value must be equal to the Fixed Value.
During data validation, if the element appears in an instance document but contains no content, Integration Server supplies the element with the Fixed Value. If the element does not appear in the instance document, Integration Server does not augment the instance document.
Is Nillable
Whether the element can have no content in the instance document. The Is Nillable value is equal to the value of the nillable attribute in the element declaration. The Is Nillable field can have the following values:
*True indicates that the nil attribute for this element in the instance document can be set to true. (When nil="true", the element has a null value.) When the value of Is Nillable is True, the element declaration in the XML Schema contains nillable="true".
*False indicates that the nil attribute for the element in an instance document cannot be set to true; that is, the element must contain content. When the value of Is Nillable is False, the element declaration contains nillable="false" or the nillable attribute is absent. This is the default value.
Is Abstract
Whether the element is abstract. The Is Abstract value is equal to the value of the abstract attribute in the element declaration. The Is Abstract field can have the following values:
*True indicates the element is abstract. Abstract element declarations cannot appear in instance documents. Instead, an element in the abstract element’s substitution group must appear in the instance document. When Is Abstract is True, the element declaration contains abstract="true".
*False indicates the element is not abstract. When the value of Is Abstract is False, the element declaration contains abstract="false" or the abstract attribute is absent. This is the default value.
Complex Type
The name and namespace of the complex type assigned to the element. This field appears only if the element is defined to be of complex type. If the element is defined to be of anonymous complex type, this field displays 'Anonymous' as the name of the complex type.
In the Schema Browser, the complex type definition assigned to an element appears as an immediate child of the element.
Simple Type
The name and namespace of the simple type assigned to the element. This field appears only if the element is defined to be of simple type. If the element is defined to be of anonymous simple type, this field displays 'Anonymous' as the name of the simple type.
In the Schema Browser, the simple type definition assigned to an element appears as an immediate child of the element.
Min Occurs
The minimum number of times this element must appear. The Min Occurs value is equal to the value of the minOccurs attribute in the local element declaration. If the local element declaration does not specify minOccurs, Designer uses a default value of 1.
This field appears only when you select a local element declaration; that is, an element declaration in a complex type definition.
Max Occurs
The maximum number of times this element may appear. The Max Occurs value is equal to the value of the maxOccurs attribute in the local element declaration. If the local element declaration does not specify maxOccurs, Designer uses a default value of 1.
This field appears only when you select a local element declaration; that is, an element declaration in a complex type definition.
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback