If you use this command to search for an element within a message that belongs to a namespace-aware domain, the search is only performed on those elements whose namespace is an empty string. If you want to perform a search for elements in any namespace, use one of the cniSearchElementNamespace commands.
CciElement* cniSearchFirstChild( int* returnCode, CciElement* targetElement, CciCompareMode* mode, CciElementType type, CciChar name);
CciElement* cniSearchLastChild( int* returnCode, CciElement* targetElement, CciCompareMode* mode, CciElementType type, CciChar name);
CciElement* cniSearchNextSibling( int* returnCode, CciElement* targetElement, CciCompareMode* mode, CciElementType type, CciChar name);
CciElement* cniSearchPreviousSibling( int* returnCode, CciElement* targetElement, CciCompareMode* mode, CciElementType type, CciChar name);
int rc; CciElement* firstChild = cniSearchFirstChild( &rc, inRootElement, CCI_COMPARE_MODE_NAME, elementName, 0);
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
cniFirstChild
cniLastChild
cniNextSibling
cniParent
cniPreviousSibling
cniRootElement
cniSearchElementInNamespace group
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as07740_ |