Creating New Structure Definitions

A structure definition is a top-level definition in an EDI Structure:

Structure definitions can be created from anywhere in the EDI Structure - that is, context (as shown by cursor placement or focus) does not matter. New structure definitions are placed in the appropriate EDI structure folder, sorted alphanumerically. Creating a new structure definition does not affect existing definitions in the EDI Structure.

For information on creating context-specific definitions (code list values, segment references, and similar definitions, see Modifying Existing Definitions.

Adding a Message

To add a message:
1. Right-click any node in the EDI Structure and select New Definition > Message from the shortcut menu.

Alternative: Select EDI > New Definition > Message from the Stylus Studio menu.

The Message Definition dialog box appears.

3. Click OK.

The message definition is added to the existing transaction messages in the EDI Structure; new messages are sorted in alphanumeric order.

Adding a Segment

To add a segment:
1. Right-click any node in the EDI Structure tree and select New Definition > Segment from the shortcut menu.

Alternative: Select EDI > New Definition > Segment from the Stylus Studio menu.

The Segment Definition dialog box appears.

3. Click OK.

The segment definition is added to the existing segments in the EDI Structure; new segments are sorted in alphanumeric order.

Adding an Element

To add an element:
1. Right-click any node in the EDI Structure and select New Definition > Element from the shortcut menu.

Alternative: Select EDI > New Definition > Element from the Stylus Studio menu.

The Element Definition dialog box appears.

3. Optionally specify minimum and maximum lengths and a description.
4. Click OK.

The element definition is added to the existing elements in the EDI Structure; new elements are sorted in alphanumeric order.

Adding a Composite

To add a composite:
1. Right-click any node in the EDI Structure and select New Definition > Composite from the shortcut menu.

Alternative: Select EDI > New Definition > Composite from the Stylus Studio menu.

The Composite Definition dialog box appears.

3. Click OK.

The composite definition is added to the existing composites in the EDI Structure; new composites are sorted in alphanumeric order.

Adding a Code List

To add a code list:
1. Right-click any node in the EDI Structure and select New Definition > Code List from the shortcut menu.

Alternative: Select EDI > New Definition > Code List from the Stylus Studio menu.

The Code List Definition dialog box appears.

The code list definition is added to the existing code lists in the EDI Structure; new code lists are sorted in alphanumeric order.

See Creating a Code to learn how to add values to a code list.

Electronic Data Interchange (EDI) Blog

The EDI-L Blog is the best technical forum for discussing topics related to Electronic Data Interchange (EDI), including EDIFACT, and X12 Technologies. Topics include EDI Software, EDI Standards, EDI applications, EDI examples, and more.

DTD Generator

Stylus Studio's DTD Generator supports the automatic generation and association of both internal and external DTDs based on XML instance documents.

Java IDE

Edit, compile and debug and generate Java code with Stylus Studio's Java Integrated Development Environment (IDE). Supports popular Java XML processing components including Apache Xalan, Apache Axis, Apache Xerces, Saxon and more.

Forest & Paper Products

Many forest & paper product companies realize the best XML suite doesn't have "pay per" features. That's why these top forest & paper product companies choose Stylus Studio 2006 to get the world's best XML features all in one bundle!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member