XML_DTDSubElementRules Enumerated List
See Also Example Applies To
This enumerated list contains the rules applied to an individual sub-node in the list of sub-nodes in a DTD Element.
XMLDTD_ONLY_ONE
Value 0 - Only one sub-element of this type may be contained in the element. Equivalent to the DTD entry :
<!ELEMENT element1 (subelement2)>
XMLDTD_MINIMUM_ONE
Value 1 - One or more sub-elements of this type may be contained in the element. Equivalent to the DTD entry :
<!ELEMENT element1 (subelement2+)>
XMLDTD_ZERO_OR_MORE
Value 2 - Any number (including zero) of sub-elements of this type may be contained in the element. Equivalent to the DTD entry :
<!ELEMENT element1 (subelement2*)>
XMLDTD_ZERO_OR_ONE
Value 3 - Zero or one sub-element of this type may be contained in the element. Equivalent to the DTD entry :
<!ELEMENT element1 (subelement2?)>
|