Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
XML Reference: Siebel eBusiness Application Integration Volume V > XML Integration Objects and the DTD Wizard > How the DTD Wizard Creates XML Integration Objects >
Cardinality
As shown in Table 15, the DTD syntax allows you to specify a cardinality—that is, the number of times an element can appear within an XML document—for elements using the modifiers question mark (?), plus sign (+), and asterisk (*), or none. Elements with a cardinality, or occurrence, specified in a DTD map only to Integration Components. The Cardinality property in the Integration Component within Siebel maps to the specified cardinality information in the DTD.
The specification for DTDs supports using parentheses to express complex hierarchical structures. For example:
<!ELEMENT rating ((tutorial | reference)*, overall)+ >
The DTD Wizard uses the operator (?, *, +, or "none") closest to the child element as that child element's cardinality. In addition, the DTD Wizard will ignore such grouping by parentheses as illustrated above.
Bookshelf Home | Contents | Index | Search | PDF | ![]() ![]() ![]() ![]() |
XML Reference: Siebel eBusiness Application Integration Volume V Published: 23 June 2003 |