XML DOM - XML DOM Entity Object - XML DOM Entity Object - DOM Entity Object Attribute - notationName - XML DOM

Explain the notationName attribute of the Entity Object

The name of the notation and the value of the unparsed entity is provided by the notationName attribute.The value is null in case of parsed entities.

Syntax

The syntax for the notationName attribute is as follows:

Example

The contents of the notation.xml are as follows:

The illustration below displays the notationName attribute usage.

Execution

The file is saved as entityattribute_notations.htm on the server path and this file should be on the same path as that of node.xml in the server. The output appears as follows:

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

XML DOM Topics