XML

XMLDOMAttribute Object

The XMLDOMAttribute object represents an attribute node of the XMLDOMElement object. This object implements the IXMLDOMAttribute interface. In addition to the properties and methods it inherits from the IXMLDOMNode interface, the IXMLDOMAttribute interface has the following additional properties:

Extended IXMLDOMAttribute Properties

Name Description
name Sets or returns the name of the attribute
value Sets or returns the value of the attribute
NOTE
The W3C specification lists this object as the attr object, instead of the XMLDOMAttribute object.

XMLDOMEntity Object

The XMLDOMEntity object represents a parsed or unparsed entity declared in a DTD. The XMLDOMEntity object is not the entity declaration. This object implements the IXMLDOMEntity interface. The properties of this interface are read-only. Like most of the other DOM interfaces, this interface inherits the IXMLDOMNode interface too. In addition to the IXMLDOMNode properties and methods, the IXMLDOMEntity object extends the IXMLDOMNNode object with the following properties:

Extended IXMLDOMEntity Properties

Name Description
publicID Returns the value of the PUBLIC identifier for the entity node
systemID Returns the value of the SYSTEM identifier for the entity node
notationName Returns the notation name

XMLDOMEntityReference Object

The XMLDOMEntityReference object represents an entity reference node contained in the XML document. Remember that an XML processor doesn't expand the entities until they are needed. Thus, if the XML processor doesn't expand the entities, there will be no XMLDOMEntityReference objects. The replacement text will be located in the text property. The IXMLDOMEntityReference interface implemented by the XMLDOMEntityReference object inherits all the methods and properties of, but does not extend, the IXMLDOMNode interface.

XMLDOMNotation Object

The XMLDOMNotation object represents a notation declared in the DTD with the declaration <!NOTATION>. The XMLDOMNotation object implements the IXMLDOMNotation interface that inherits all the methods and properties of the IXMLDOMNode interface and extends the IXMLDOMNode interface with the following properties:

Additional IXMLDOMNotation Properties

Name Description
publicID Returns the value of the PUBLIC identifier for the notation node
systemID Returns the value of the SYSTEM identifier for the notation node

by BrainBellupdated
Advertisement: