Designing Custom Encoders

Order Property

To illustrate how the order property works, consider the simple tree structure shown in the following diagram, where a is an element node, b is a non-repeating field node, and c is a repeating field node. The value set for the order property allows the field nodes to appear as shown in following table.

Figure 3 Order Property Example

Diagram of tree structure as described in content.

Table 5 Order Property Example

Value 

Allowed Node Order 

sequence 

b, c1, c2 

any 

b, c1, c2, or c1, c2, b

mixed 

b, c1, c2, or c1, c2, b, or c1, b, c2