Variety Property
See Also Example Applies To
Read-Only. A value from the XML_DTDSubElementVarieties enumerated list containing the sub-element Type.
Syntax
object.Variety
The object placeholder represents an XMLDTDSubElement object.
Settings
See the XML_DTDSubElementRules enumerated list topic.
Remarks
This property should more properly be called "Type", however, Type is a reserved word in VB and therefore cannot be used.
Background
A DTD Element declaration can have a number of sub-elements. These sub-elements will either be a sub-node declaration or a #PCDATA declaration.
The following example has two sub-elements with the two different sub-element types :
<!ELEMENT element1 (subelement2 | #PCDATA)>
|