xml.DomDocument.createNode

Creates an xml.DomNode object from a string for this xml.DomDocument object.

Syntax

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

Returns an xml.DomNode object.

Usage

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

Returns the XML element xml.DomNode object.

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