Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
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

Copy Code
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

Copy Code
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 entityMapis 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.

Copy Code
<!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:

IXMLDOMDocumentType.