xml.Serializer.DomToStax

Serializes an XML node object to a StaxWriter object.

Syntax

xml.Serializer.DomToStax(
   node xml.DomNode,
   stax xml.StaxWriter )
  1. node is an XML DomNode object.
  2. stax is a StaxWriter object.

Usage

The resulting XML element node of the serialization process will be added at the current cursor position of the StaxWriter object.

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