Home
Products & Services
Developers
XML
Contents Table
On-Line Help
Release Notes
Install Notes
Binaries
Sources
XML-RPC
RSS
About & Contact
Want to know more?
Use the following form to contact someone at EnAppSys for more information.

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)>
Terms of Use, Cookie and Privacy PoliciesAll Materials on this Website are Copyright EnAppSys Ltd. ©2002 - 2012
Registered Office: EnAppSys Ltd, Arnison House, 139B The High Street, Yarm, Stockton-on-Tees TS15 9AY
Registered in England and Wales, Number: 4685938