Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDOMXML::replaceChildAt ( p6IXMLNode pParent,
P6UINT32  index,
p6IXMLNode pNewChild 
)
pure virtual

Deprecated Replace the nth child of the parent node with the new child node.

The nth value is passed in the index parameter. This function ensures that the DOM tree is aware of the new pNewChild node.

Parameters
pParent[ in ] Node to modify an existing child node.
index[ in ] A parent's children have indexes from {0 .. getNumChildren()}.
pNewChild[ in ] a new decendent of the parent node parameter.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to intialize() must be made before calling this funciton.
P6R::eTooBigindex is larger than number of children of parent node.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eBusyCan only replace a node that is only in the tree and not used elsewhere.