Add Element or Composite Reference

You use the Add Element or Composite Definition dialog box to add an element or composite reference to a segment, composite, repetition, variation, or to another element or segment reference. The modified definition resides in the SEF file for your EDI to XML Conversion.


Choose an element or composite

You can choose an existing element or composite from the Choose an element or composite drop-down list, or create a new one by clicking either the New Element or New Composite button. Clicking these buttons displays the Element Definition dialog box or Composite Definition dialog box, respectively.


Indicates whether the element or composite reference is used in your customized EDI structure. For new element or composite references, you can leave this field empty. If you are modifying an existing element or composite reference because you want to indicate that it is not used in your customized EDI structure, set Modifier to Not Used instead of removing it from the EDI structure.

Valid values for this property are Dependent, Must be used, Not recommended, Not used, Recommended.


Whether the reference is Optional, Mandatory, Conditional, or Dependent. The default is Optional for most dialects; it is Conditional for EDIFACT.

Repeat Count

The number of times the reference can occur within the segment, composite, or other definition.


The reference's minimum length. (Displayed for element reference


The reference's maximum length.


The reference's place within the segment, composite, or other definition. This field is grayed out unless you have set the EDI Structure Loop Sequence Enabled property to True. Default value if present, has been calculated not to interfere with other definitions.

For More Information

Creating an Element or Composite Reference

Modifying Existing Definitions

Creating New Structure Definitions

Customizing an EDI Standard

Free Stylus Studio XML Training: