$appendchild | $appendchild(oObj,&cErrorText) appends oObj to the end of the list of children; returns true for success,or false and cErrorText for failure |
$attributemap | $attributemap(&cErrorText) returns a named node map object listing the attributes of this element, or NULL and cErrorText if an error occurs |
$childnodes | $childnodes(&cErrorText) returns a node list object listing the children of this object, or NULL and cErrorText if an error occurs |
$clonenode | $clonenode(bRecursive) returns a new object which is a copy of the node (and its children if bRecursive is true)(note: cloning an element with bRecursive = false also clones the attributes) |
$firstchild | $firstchild() returns the first child of this object; NULL if there are no children |
$getattribute | $getattribute(cName,&cErrorText) returns the value of the attribute with name cName; if an error occurs, cErrorText is not empty |
$getattributenode | $getattributenode(cName,&cErrorText) returns the attribute object for the attribute with name cName; returns NULL and cErrorText if an error occurs |
$getattributenodens | $getattributenodeNS(cURI,cLocalName,&cErrorText) returns the attribute object for the attribute with the specified local name and URI; returns NULL and cErrorText if an error occurs |
$getattributens | $getattributeNS(cURI,cLocalName,&cErrorText) returns the value of the attribute with the specified local name and URI; if an error occurs, cErrorText is not empty |
$getcdatasection | $getcdatasection(&cText,&cErrorText[,bLfCrReplace=kFalse]) sets cText by concatenating the text nodes beneath the element; returns true for success,or false and cErrorText for failure |
$getelementsbytagname | $getelementsbytagname(cTagName,&cErrorText) returns a node list object listing the descendant elements with the name cTagName, or NULL and cErrorText if an error occurs. cTagName = '*' matches all tag names |
$getelementsbytagnamens | $getelementsbytagnameNS(cURI,cLocalName,&cErrorText) returns node list object listing descendant elements with specified local name and URI,or NULL and cErrorText if an error occurs.'*' matches all URIs or local names or both |
$hasattribute | $hasattribute(cName,&cErrorText) returns true if the element has the named attribute,or the named attribute has a default value.Returns false and cErrorText if an error occurs |
$hasattributens | $hasattributeNS(cURI,cLocalName,&cErrorText) returns true if the element has the attribute specified by URI and name,or the specified attribute has a default value.Returns false and cErrorText if an error occurs |
$hasattributes | $hasattributes() returns true if the node is an element which has attributes |
$haschildnodes | $haschildnodes() returns true if the object has children |
$insertbefore | $insertbefore(oObjToInsert,oObjBefore,&cErrorText) inserts oObjToInsert into the list of children,before oObjBefore; returns true for success,or false and cErrorText for failure |
$issupported | $issupported(cFeature,cVersion) returns true if the specified version of the specified feature is supported |
$lastchild | $lastchild() returns the last child of this object; NULL if there are no children |
$nextsibling | $nextsibling() returns the next sibling of this object; NULL if there is no next sibling |
$normalize | $normalize(&cErrorText) normalizes the text nodes beneath this element; returns true for success,or false and cErrorText for failure |
$ownerdocument | $ownerdocument() returns the owner document containing this object |
$parentnode | $parentnode() returns the parent object of this object; NULL if there is no parent |
$previoussibling | $previoussibling() returns the previous sibling of this object; NULL if there is no previous sibling |
$removeattribute | $removeattribute(cName,&cErrorText) removes the attribute cName; returns true for success,or false and cErrorText for failure |
$removeattributenode | $removeattributenode(oAttr,&cErrorText) removes the attribute oAttr; returns true for success,or false and cErrorText for failure |
$removeattributens | $removeattributeNS(cURI,cLocalName,&cErrorText) removes the attribute with the specified local name and URI; returns true for success,or false and cErrorText for failure |
$removechild | $removechild(oObj,&cErrorText) removes oObj from the list of children; returns true for success,or false and cErrorText for failure |
$replacechild | $replacechild(oObjNew,oObjOld,&cErrorText) replaces oObjOld in the list of children,with oObjNew; returns true for success,or false and cErrorText for failure |
$savebinary | $savebinary(&xXML,&cErrorText[,bStripDT=kFalse,iFmt=kXMLformatNone]) saves XML to binary variable xXML;returns true for success,or false and cErrorText;strips prolog DOCTYPE if bStripDT is true;kXMLFormat... constant iFmt controls formatting |
$setattribute | $setattribute(cName,cValue,&cErrorText) sets the value of the attribute cName to cValue; returns true for success,or false and cErrorText for failure |
$setattributenode | $setattributenode(oAttr,&cErrorText) replaces the attribute node with oAttr; if attribute is not present returns NULL,otherwise returns previous attribute; if an error occurs, cErrorText is not empty |
$setattributenodens | $setattributenodeNS(oAttr,&cErrorText) replaces the attribute node with oAttr; if attribute is not present returns NULL,otherwise returns previous attribute; if an error occurs, cErrorText is not empty |
$setattributens | $setattributeNS(cURI,cQualifiedName,cValue,&cErrorText) sets the value of the attribute with qualified name and URI to cValue; returns true for success,or false and cErrorText for failure |
$setcdatasection | $setcdatasection(cText,&cErrorText) sets the element content to CDATASection node(s); returns true for success,or false and cErrorText for failure |