The StaxWriter class / xml.StaxWriter methods |
Writes an empty namespace qualified XML element to the StaxWriter stream.
emptyElementNS( name STRING, ns STRING )
If namespace URI has not been bound to a prefix with one of the functions setPrefix, declareNamespace, setDefaultNamespace or declareDefaultNamespace, the operation fails with an exception.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.