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 with the appropriate error number.