xml.StaxWriter.emptyElementNS
Writes an empty namespace qualified XML element to the StaxWriter stream.
Syntax
emptyElementNS(
name STRING,
ns STRING )
- name defines the local name of the XML empty element, cannot be NULL.
- ns defines the namespace URI of the XML empty element, cannot be NULL.
Usage
This method writes an empty namespace qualified XML element to the StaxWriter
stream.
If namespace URI has not been bound to a prefix with one of
the functions setPrefix
,
setDefaultNamespace
,
or declareDefaultNamespace
, the operation fails with an exception.
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).