DOM_Text

External objects

Properties

Property Description
$localname The local part of the qualified name of the node (read only)
$namespaceuri The namespace URI of the node, or empty if it is unspecified (read only)
$nodename The name of the node (not assignable)
$nodetype The type of the node (one of the kXMLNode... constants)
$prefix The namespace prefix of the node, or empty if it is unspecified
$textdata The text

Methods

Method Description
$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)
$hasattributes $hasattributes() returns true if the node is an element which has attributes
$haschildnodes $haschildnodes() returns true if the object has children
$issupported $issupported(cFeature,cVersion) returns true if the specified version of the specified feature is supported
$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
$splittext $splittext(iOffset,&cErrorText) splits the text at the zero-based offset iOffset; returns the new text object for success, or NULL and cErrorText for failure