iTP Active Transaction Pages (iTP ATP) Programmer's Guide

XML for ATP Add-On Module
iTP Active Transaction Pages (iTP ATP) Programmer’s Guide522292-002
5-57
XMLDOMEntity Object
notations
An XMLDOMNamedNodeMap Object containing an entry for each notation
declared in a document’s DTD. Duplicates are discarded.
Remarks
Object (XMLDOMNamedNodeMap Object
). Read-only.
Syntax
objXMLDOMNamedNodeMap = oXMLDOMDocumentType.notations
Example
var doc = new XML.DOMDocument;
doc.load("sample.xml");
var map = doc.doctype.notations;
println(map.length);
Output
2
XMLDOMEntity Object
The XMLDOMEntity object represents an entity, either parsed or unparsed, in an XML
document.
The nodeName
attribute that is inherited from the XMLDOMNode Object contains the
name of the entity. An XML processor may choose to completely expand entities before
the structure model is passed to the DOM; in this case there will be no
XMLDOMEntityReference Object
nodes in the document tree.
Table 5-17
specifies the common properties of the XMLDOMEntity object.
Properties
notationName
Contains the notation name. For unparsed entities, this is the name of the notation
for the entity. For parsed entities, this is null.
Note. This models the entity itself, not the entity declaration.
Table 5-17. XMLDOMEntity Object Properties
Property Description
notationName Contains the notation name.
publicId Contains the public identifier of this entity.
systemId Contains the system identifier of this entity.