xml.DomDocument.createEntityReference

Creates a XML EntityReference xml.DomNode object for this 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 xml.DomNode object for this xml.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).