entities Property
A version of this page is also available for
4/8/2010
Contains a list of the entities declared in the DOCTYPE declaration.
Script Syntax
var objXMLDOMNamedNodeMap = oXMLDOMDocumentType.entities;
Remarks
Script Parameters
None.
Script Return Value
Object. List of the general entities, both external and internal, that are present in this document.
C/C++ Syntax
HRESULT get_entities(
IXMLDOMNamedNodeMap** entityMap
);
Remarks
C/C++ Parameters
- entityMap
[out, retval] List of the general entities, both external and internal, that are present in this document.
C/C++ Return Values
- S_OK
Value returned if successful.
- E_INVALIDARG
Value returned if entityMap is Null.
Requirements
Header | msxml2.h, msxml2.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
General Remarks
In the following DOCTYPE declaration, for example, the node list in this property contains the entities bax and bay, but not baz.
<!DOCTYPE ex SYSTEM "ex.dtd" [
<!ENTITY bat "bat">
<!ENTITY bar "bar">
<!ENTITY % baz "baz">
]>
This property is read-only, and applies to the following interface: