XML DOM Entity Object - XML DOM

What is an XML DOM Entity object?

An entity that is either parsed or unparsed in an XML document is represented by the Entity interface of the XML DOM. The name of the entity is included in the nodeName attribute which is inherited from the node. An entity node does not have any parent nodes and the nodes are always read-only.

What are the attributes of the XML DOM Entity object?

The attributes of the Entity object are as follows:

Attribute
Type
Description
inputEncoding
DOMString
This specifies the encoding used by the external parsed entity. Its value isnullif it is an entity from the internal subset or if it is not known.
notationName
DOMString
For an unparsed entities, it gives the name of the notation and its value isnullfor the parsed entities.
publicId
DOMString
It gives the name of the public identifier associated with the entity.
systemId
DOMString
It gives the name of the system identifier associated with the entity.
xmlEncoding
DOMString
It gives the xml encoding included as a part of the text declaration for the external parsed entity, null otherwise.
xmlVersion
DOMString
It gives the xml version included as a part of the text declaration for the external parsed entity, null otherwise.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

XML DOM Topics