Chapter 3 Building XML Models
An element composed of other elements is a parent element with child elements.
Child elements are linked to their parent element through a group particle.
There are three kinds of group particles:
| Tool | Symbol | 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 at all |
These particles translate to the following tags in each of the supported languages:
| Group Particle | XSD |
XDR (order attribute) |
DTD (separator) |
|---|---|---|---|
| Sequence | <sequence> | seq | , (comma) |
| Choice | <choice> | one | | (bar) |
| All | <all> | many | , (comma) |
| Copyright (C) 2007. Sybase Inc. All rights reserved. |
| |