All Classes |Grouped Classes |Index

Function import_node

Imports a node from another document to this document.

	CL_DomNode CL_DomDocument::import_node(
		const CL_DomNode & node,
		bool deep);

Detailed description:

The returned node has no parent. The source node is not altered or removed from the original document; this method creates a new copy of the source node.

For all nodes, importing a node creates a node object owned by the importing document, with attribute values identical to the source node's node_nnd node_type, plus the attributes related to namespamespaces (prefix, local_name, and namespace_uri). As i clone_nodeationation tion on a the the source is n is not altered.