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.

XML_DTDElementContentRules Enumerated List

See Also   Example   Applies To

This enumerated list contains the rules applied to a group of sub-nodes in a DTD Element.

XMLDTD_UNKNOWNCONTENTRULE

Value 0 - This rule is applied when the object is created. It should be set never be seen by the user of the DLL unless there has been a problem with determining the element type.

XMLDTD_ONLY_ONE_FROM_THE_LIST

Value 1 - Only one sub-element may be taken from the list. Equivalent to the DTD entry :

<!ELEMENT element1 (subelement2 | subelement3)>

XMLDTD_ZERO_OR_MORE_FROM_THE_LIST

Value 2 - Zero or more sub-elements may be taken from the list. Equivalent to the DTD entries :

<!ELEMENT element1 (subelement2 | subelement3)*>
<!ELEMENT element1 (subelement2 , subelement3)*>

XMLDTD_MUST_HAVE_ALL_ELEMENTS_IN_LIST

Value 3 - All the elements in the list must be used. Equivalent to the DTD entry :

<!ELEMENT element1 (subelement2 , subelement3)>

XMLDTD_ONE_ELEMENT

Value 4 - Only one sub-element is defined for this node. Equivalent to the DTD entry :

<!ELEMENT element1 (subelement2)>

XMLDTD_EMPTY

Value 5 - There are no sub-elements to this tag. Equivalent to the DTD entry :

<!ELEMENT element1 EMPTY>

XMLDTD_ANY

Value 6 - This tag can have any sub-elements. Equivalent to the DTD entry :

<!ELEMENT element1 ANY>
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