All Classes |Grouped Classes |Index

Function set_prefix

Sets the namespace prefix of the node.

	void CL_DomNode::set_prefix(
		const CL_DomString & prefix);

Detailed description:

Note that setting this attribute, when permitted, changes the node_name attribute, which holds the qualified name, as well as the tag_name and name attributes of the Element and Attr interfaces, when applicable.

Note also that changing the prefix of an attribute that is known to have a default value, does not make a new attribute with the default value and the original prefix appear, since the namespace_uri and local_name do not change.