xml.DomDocument.createEntityReference

Creates a XML EntityReference xml.DomNode object for an xml.DomDocument object

Syntax

createEntityReference(
   entity STRING )  
  RETURNS xml.DomNode
  1. entity defines the name of the entity reference.

Returns an xml.DomNode object.

Usage

Creates a XML EntityReference DomNode object for this DomDocument object, where entity is the name of the entity reference.

Returns the XML element xml.DomNode object.

An Entity Reference node is read-only and cannot be modified.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).