Service Development Help : Properties : Schema Component Properties : Element Reference
Element Reference
An element reference is a reference from an element declaration in a content specification to a globally declared element. In a schema generated from an XML Schema, this symbol corresponds to the ref=”globalElementName attribute in an <element> declaration. In a schema generated from a DTD, this symbol appears next to an element that is a child of another element; that is, the parent element has only element content
This field...
Specifies...
Name
The local name of the referenced element followed by the namespace to which the referenced 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 referenced element. The Default value is equal to the value of the default attribute in the referenced 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 referenced 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 referenced 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 referenced 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 referenced 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 referenced 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 referenced 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 referenced 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 © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback