Sets the type of the specified syntax element.
void cniSetElementType( int* returnCode, CciElement* targetElement, CciElementType type);
None. If an error occurs, the returnCode parameter indicates the reason for the error.
CciElement* lastChild = cniCreateElementAsLastChild(&rc, outRootElement); cniSetElementName(&rc, lastChild, elementName); cniSetElementType(&rc, lastChild, CCI_ELEMENT_TYPE_NAME);