Sybase XML Impact Driver User Manual


 
Chapter 2 Building an XML model
XSM User's Guide 53
Child elements are linked to their parent element through a group particle.
Defining group particles
Group particles indicate how child elements are related with their parent
element.
You can choose a group particle from the following list:
Tool Tooltip Description
Sequence Child elements must appear at least once in the order of
their declaration
Choice Only one child element can be linked to the parent
element
All Child elements can appear in any order and each of
them once or not
In a schema, a group particle is declared with its corresponding tag:
<sequence>, <choice> or <all>.
In a model targeted with the XML-Data Reduced language, group particles
are declared through the order attribute of an <ElementType> tag:
Group particle Value of the order attribute in XDR
Sequence seq
Choice one
All many
Extract of an XDR file:
Group particles in
XDR files