Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMDocumentType::name...     IXMLDOMDocumentType Inter...    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMDocumentType::get_entities Method


Contains a list of the entities declared in the document type declaration.

Visual Basic Syntax

Set objXMLDOMNamedNodeMap = oXMLDOMDocumentType.entities

C/C++ Syntax

HRESULT get_entities(
    IXMLDOMNamedNodeMap **entityMap);

Parameters

entityMap
[out] 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.

Remarks

In the following document type declaration, for example, the node list in this property contains the entities "bat" and "bar" but not "baz".

<!DOCTYPE ex SYSTEM "ex.dtd" [
  <!ENTITY bat "bat">
  <!ENTITY bar "bar">
  <!ENTITY % baz "baz">
]>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.