xml.StaxWriter.startElement

Writes a XML start element to the StaxWriter stream.

Syntax

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

Usage

This method writes a XML start element to the StaxWriter stream. All startElement methods open a new scope and set the stream to a START_ELEMENT. Writing the corresponding endElement() causes the scope to be closed.

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