As an example, we shall create a delimiter list for the simple Encoder structure shown in the following figure.
In the XSD Editor, select the node for which you want to define a set of delimiters (this example uses the root node, which is designated Element_1). By default, the value for the Node Type property is set to delimited and the value for the Delimiter List property appears as not specified.
The Node Type values for elements and fields also are delimited by default, so they automatically pick up the delimiters specified for their ancestors unless you define new delimiter lists for them.
Click the ellipsis (…) button in the Delimiter List value field to display the Delimiter List Editor, which is initially blank.
Click Add Level to add a level to the delimiter list, then click Add Delimiter to add a delimiter to the selected level. Click in the Bytes field to activate it for editing and type in the delimiter characters.
Press Enter to set the delimiter value. The list should appear as shown in the following figure.
Continue adding levels and delimiters as required, as shown in the following figure.
Click OK to close the editor and save your work.
The value for the Delimiter List property will now indicate the number of delimiter levels that are specified, as shown in the following figure.
The properties for Element_2 are displayed in the following figure. It automatically picks up the delimiters for Level 2, since the existing delimiter list is defined for Element_1. Defining another delimiter list here would override the existing list.
Leave the Node Type property for Field_1 set to delimited; it automatically picks up the delimiters for Level 3 from the list defined for Element_1, as displayed in the following figure. Again, the Delimiter List property remains not specified.
Once you have defined your delimiter list, you should test the Encoder to verify that it parses correctly.