| DescriptionThe functions listed below are implemented as defined in theDOM Level 2specification, with two exceptions: their names are 
prefixed with SDOM_ and the first argument is always a SablotSituation. 
All the functions return a value of SDOM_Exception type. The functions 
aren't described in details as they correspond to well known DOM methods.
Please, look to sdom.h for more details.createElement,createElementNS,createAttribute,createAttributeNS,createTextNode,createCDATASection,createComment,createProcessingInstruction
 getNodeType,getNodeName,getNodeNSUri,getNodePrefix,getNodeLocalName,setNodeName,getNodeValue,setNodeValue
 getParentNode,getFirstChild,getLastChild,getPreviousSibling,getNextSibling,getChildNodeIndex,getChildNodeCount,getOwnerDocument
 insertBefore,appendChild,removeChild,replaceChild
 cloneNode
 getAttribute,getAttributeNS,getAttributeNode,getAttributeNodeNS,getAttributeNodeIndex,getAttributeNodeCount,setAttribute,setAttributeNS,setAttributeNode,setAttributeNodeNS,removeAttribute,removeAttributeNode,getAttributeElement,getAttributeList
 
Several functions have been added:
 disposeNodefrees all memory used by the given node.
 cloneForeignNodeclones a node from a different document.
 docToStringserializes the document, returning the resulting string.
 nodeToStringserializes a node (and its descendants), returning
the resulting string.
 xqlperforms an XPath query on the DOM tree, returning a list of the 
nodes satisfying the query.
 
In addition, there are some functions used to manipulate the node lists 
returned by xql and getAttributeList functions. These include 
getNodeListLength,getNodeListItemanddisposeNodeList. 
Finally, there are functions to extract DOM exception-related information 
from the situation object, namely getExceptionCode,getExceptionMessageandgetExceptionDetails. |