xml.StaxWriter.emptyElement

Writes an empty XML element to the StaxWriter stream.

Syntax

emptyElement(
   name STRING )
  1. name defines the local name of the XML empty element, cannot be NULL.

Usage

This method writes an empty XML element to the StaxWriter stream, where name defines the local name of the empty element. It cannot be NULL.

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