Partager via


entities Property (Compact 2013)

3/26/2014

Contains a list of the entities declared in the DOCTYPE declaration.

Syntax

var objXMLDOMNamedNodeMap = oXMLDOMDocumentType.entities;
HRESULT get_entities(  IXMLDOMNamedNodeMap** entityMap);

Parameters

Script

None.

C/C++

  • entityMap
    [out, retval] List of the general entities, both external and internal, that are present in this document.

Return Value

Script

Object. List of the general entities, both external and internal, that are present in this document.

C/C++

  • S_OK
    Value returned if successful.
  • E_INVALIDARG
    Value returned if entityMap is Null.

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:

IXMLDOMDocumentType.

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties