xml.Serializer.StaxToDom
Serializes an XML element node into a DomNode object using a StaxReader object.
Syntax
xml.Serializer.StaxToDom(
stax xml.StaxReader,
node xml.DomNode )
- stax is a StaxReader object where the cursor points to an XML Element node.
- node is a DomNode object of type
ELEMENT_NODE
orDOCUMENT_FRAGMENT_NODE
.
Usage
This method serializes a XML element node into a DomNode object using a StaxReader object. The resulting XML element node of the serialization process will be appended to the last child of the given node.
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).