xml.DomDocument.createNode

Creates a XML DomNode object from a string for a DomDocument object.

Syntax

createNode(
   str STRING ) 
  RETURNS xml.DomNode
  1. str defines the string representation of the DomNode to be created.

Usage

Creates a XML DomNode object from a string for this DomDocument object; str is the string representation of the DomNode to be created.

Returns the XML element DomNode object, or NULL.

Important: This method is not part of W3C standard API.

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