Rule Property
See Also Example Applies To
Read-Only. A value from the XML_DTDSubElementRules enumerated list containing the sub-element usage rule.
Syntax
object.Rule
The object placeholder represents an XMLDTDSubElement object.
Settings
See the XML_DTDSubElementRules enumerated list topic.
Background
A DTD Element declaration can have a number of sub-elements. These sub-elements will each have a usage rule, the rules are indicated by the presence or otherwise of a character.
The following example has four sub-elements with the four different sub-element usage rules :
<!ELEMENT element1 (subelement2 | subelement3+ | subelement4? | subelement5*)>
|