downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<DomNode->set_nameDomNode->unlink_node>
Last updated: Thu, 26 Jun 2008

DomNode->set_namespace

(No version information available, might be only in CVS)

DomNode->set_namespace — Sets namespace of a node

Description

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 noteadd a note User Contributed Notes
Sets namespace of a node
There are no user contributed notes for this page.




<DomNode->set_nameDomNode->unlink_node>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs