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);
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as07740_ |