Structure element properties
Generally when adding a new element, the properties associated with is are configured automatically and correctly, but you can edit them if needed.
General properties
Property | Description |
---|---|
Name | Name of the element. For XML structures, you can specify a namespace prefix using the following syntax: prefix:name. |
Description | Short description of the element. This description is displayed next to the element name in the editor. |
Occurs Min/Max | Minimum and maximum number of times the element can appear in a document. For example, you can enter 1 in the Min field to indicate an element is mandatory. If the number is unlimited, enter -1. |
Size Min/Max | Minimum and maximum number of characters in the element. |
Group Type | Indicates how the children of this element are grouped. The value can be:
|
Data Type | Type of text content for the element. The value can be:
|
Element Type | Defines how this element is used in a document. This is mostly
relevant for XML documents. The value can be:
|
Data Format | Describes how the data type is to be concretely manifested. The options
available depend on the Data Type you selected. The
Default option automatically selects the default
format for the data type standard. For example, the default format for a
DateTime element is ISO 8601. In the output, the time format HHMMSSDD includes the offset if it is specified in the input. For example, the 01:02:03+01:00 input becomes 010203+01:00 in the output. |
Visible Group | Indicates if this element is visible in the document. |
Null | Indicates if this element can have a null value. |
Flat structure properties
Property | Description |
---|---|
Initiator | Sequence of characters that signals the start of this element. |
Terminator | Sequence of characters that signals the end of this element. |
Include Initiator? | Indicates if the initiator should be included as part of the text value of the element. |
Include Terminator? | Indicates if the terminator should be included as part of the text value of the element. |
Start Offset | Number of characters to skip before starting this element. |
Column | Indicates the column where the element starts. |
Quote Handling | This provides pre-defined options for handling possible quotation
marks around elements. The value can be:
|
Release | Defines the single character that causes an initiator or terminator not to be recognized. For example, if the terminator character is a double quote, and you specify a backslash as the release character, you can include a double quote within the value of the element by preceding it with a backslash. |
EDI Elem Type | Defines the type of EDI element represented by this element. The value
can be:
|
EDI Elem Ref | Defines the EDI data element reference number. |
Inheritance properties
Property | Description |
---|---|
Inherits From | Specifies the structure from which this element inherits. |
Inherited Root | Specifies how to reconcile the root element from the parent structure
with this element. The value can be:
|
Ignore Inherited Adds? | Indicates if new elements added in the parent structure should be propagated to this element. |
Use Children Of | For recursive elements, this property allows you to use the same content as the parent element. |
EDI properties
Property | Description |
---|---|
Syntax Rules | For EDI elements, this property defines the valid combinations of required elements for that segment |
Sequence Id | For EDI elements, this property defines the sequence number of this element, in the nn format. |
Other properties
Property | Description |
---|---|
XPath Name | Allows you to define the XPath corresponding to entries of this
element. You can use the following expressions:
If the structure has namespaces, they need to be added as a prefix for each element. If you are using this property with a representation other than XML, you need to prefix each element with the name of the representation, JSON:item/JSON:price. For more information about how to use this property, see Mapping an XML structure with dynamic elements and Filtering structure elements. |
Text | Allows you to document the element. You can select a type of text in the drop-down list and enter your text in the field below. |
External name | Allows the processing of element names that include characters not supported in the element name, such as spaces or $. |