xml.Serializer.DomToStax

Serializes a XML DomNode object to a StaxWriter object.

Syntax

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

Usage

Use this method to serialize a xml.DomNode object to a StaxWriter object.

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