Use this function to add an unattached syntax element as the last child of a specified syntax element. The currently unattached syntax element, and all child elements it possesses, is connected to the syntax element tree as the last child of the specified target element. The new element need not be attached to a tree.
void cniAddAsLastChild(
int* returnCode,
CciElement* targetElement,
CciElement* newElement);
None. If an error occurs, the returnCode parameter indicates the reason for the error.