xml.StaxWriter.entityRef

Writes a XML EntityReference to the StaxWriter stream.

Syntax

entityRef(
   name STRING )
  1. name defines the name of the entity, cannot be NULL.

Usage

This method writes a XML EntityReference, specified by name, to the StaxWriter stream.

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).