Creates a new syntax element as the last child of the specified syntax element.
If successful, the address of the new element object is returned. Otherwise, a value of zero (CCI_NULL_ADDR) is returned and the returnCode parameter indicates the reason for the error.
CciElement* lastChild = cniCreateElementAsLastChild(&rc, outRootElement); cniSetElementName(&rc, lastChild, elementName);
Related concepts
User-defined message processing nodes
User-defined output nodes
Related tasks
Creating a message processing node in C
Related reference
C language node utility functions
cniCreateElementAsFirstChild
cniCreateElementAsFirstChildUsingParser
cniCreateElementAsLastChildFromBitstream
cniCreateElementAsLastChildUsingParser
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as07860_ |