Programmer's Guide > Interfaces > ADocument interface > canRenameNode method
  
canRenameNode method
Tests whether an existing node of type ELEMENT_NODE or ATTRIBUTE_NODE can be renamed such that the resulting node is compliant with VAL_SCHEMA validity type.
canRenameNode(node, namespaceURI, qualifiedName )
Parameters
Nodenode
The Node to be renamed.
StringnamespaceURI
The new namespace URI.
StringqualifiedName
The new qualified name.
Returns
unsigned short. A validation state constant.