This interface represents a parsed or unparsed entity in the XML document.
IXMLDOMEntity Methods
notationName | Contains the notation name. |
publicId | Contains the public identifier. |
systemId | Contains the system identifier. |
Remarks
The IXMLDOMEntity object represents the entity itself rather than the entity declaration. The World Wide Web Consortium (W3C) document object model (DOM) does not currently define an object that models the entity declaration.
According to the W3C DOM specification, an XML processor can completely expand entity references into entities before the structure model is passed to the DOM. When these entity references are expanded, the document tree does not contain any entity references.
When the Microsoft XML processor validates the XML document, it expands external entities (except binary entities). The nodes representing the expanded entity are available as read-only children of the entity reference. The Microsoft implementation does not expand these entities when it is not validating.
The nodeName property contains the name of the entity. The structure of the entity child list is exactly the same as the structure of the child list for the IXMLDOMEntityReference object with the same nodeName value.
Level 1 of the W3C DOM API does not define a way to change entity nodes (all IXMLDOMEntity object properties are read-only).
Interface Information
Implementation | Msxml.dll |
Inherits from | IXMLDOMNode |
Header and IDL files | Msxml.h, Xmldom.idl |
Minimum availability | Internet Explorer 5 |
Minimum operating systems | Windows 95, Windows NT 4.0 |