PHP. Руководство по PHP. 2005
DomNode->set_namespace
HREF="function.domnode-set-name.html"> HREF="function.domnode-unlink-node.html"> Пред.
DomNode->set_namespace
Описание
void DomNode->set_namespace (string uri [, string prefix])Sets the namespace of a node to uri. If there is already a namespace declaration with the same uri in one of the parent nodes of the node, the prefix of this is taken, otherwise it will take the one provided in the optional parameter prefix or generate a random one.
See also domdocument_create_element_ns(), and domnode_add_namespace()
DomNode->set_name
DomNode->unlink_node