virtual P6R::P6ERR P6R::p6IDOMXML::moveSubTree ( p6IXMLNode pParent,
p6IXMLNode pMoveNode 
) [pure virtual]

Move a subtree from the source DOM tree component into the destination DOM tree.

The subtree to be moved can be placed anywhere into the destination DOM tree. The pParent parameter is a node in the destination DOM tree.

Parameters:
pParent [IN] Can be NULL. A node in the destination DOM tree. The pMoveNode becomes a child of this node. If this parameter is NULL then, pMoveNode becomes the child of the tree root node.
pMoveNode [IN] A node from another DOM tree. That node and all its children are moved into the destination DOM tree.
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eInvalidArgpMoveNode parameters is NULL.
P6R::eInvalidStateEither source or destination DOM tree is corrupted.
P6R::eTooSmallThe tree pointed to by pMoveNode is empty.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.