DOM_NamedNodeMap

External objects

Properties

$length The number of entries in the named node map

Methods

Method Description
$getnameditem $getnameditem(cName) returns the object named cName, or NULL if no such object exists
$getnameditemns $getnameditemNS(cURI,cLocalName) returns the object with the specified local name and URI, or NULL if no such object exists
$item $item(iIndex) returns object iIndex from the map; indexing starts at zero; a bad index results in a NULL return value
$removenameditem $removenameditem(cName) removes and returns the object named cName from the map; returns NULL if no such object exists
$removenameditemns $removenameditemNS(cURI,cLocalName) removes and returns the object with the specified local name and URI from the map; returns NULL if no such object exists
$setnameditem $setnameditem(oObj,&cErrorText) stores the object oObject in the map; returns the previous object if an object is replaced, or NULL if not; if an error occurs, cErrorText is not empty
$setnameditemns $setnameditemNS(oObj,&cErrorText) stores the object oObject in the map; returns the previous object if an object is replaced, or NULL if not; if an error occurs, cErrorText is not empty