PHP: DomNode->set_namespace - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DomNode->unlink_node DomNode->set_name

Last updated: Fri, 26 Jan 2007

view this page in

# DomNode->set_namespace

(no version information, might be only in CVS)

DomNode->set_namespace -- Sets namespace of a node

## Описание

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()

add a note User Contributed Notes
DomNode->set_namespace
There are no user contributed notes for this page.
DomNode->unlink_node DomNode->set_name

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST