DOM_EntityReference

External objects

Properties Methods 

Properties

$localnameThe local part of the qualified name of the node (read only)
$namespaceuriThe namespace URI of the node,or empty if it is unspecified (read only)
$nodenameThe name of the node (not assignable)
$nodetypeThe type of the node (one of the kXMLNode... constants)
$prefixThe namespace prefix of the node,or empty if it is unspecified
$useobjectrefsIf true,the object works with object references rather than objects (so object return values are object references and object parameters must be object references)

Methods

$appendchild$appendchild(oObj,&cErrorText) appends oObj to the end of the list of children; returns true for success,or false and cErrorText for failure
$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
$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
$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
$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