xml.DomDocument.createNode

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

Syntax

createNode(
   str STRING ) 
  RETURNING object xml.DomNode
  1. str is the string representation of the DomNode to be created.

Usage

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

Returns a xml.DomNode object, or NULL.

CAUTION:
Not part of W3C API.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.