CciElement* cpiFirstChild( int* returnCode, const CciElement* targetElement);
요청된 구문 요소 오브젝트의 주소가 리턴됩니다. 단 하위 오브젝트가 없는 경우 0이 리턴됩니다. 오류가 발생하면, 0(CCI_NULL_ADDR)이 리턴되고 returnCode는 오류의 이유를 표시합니다.
다음 예는 샘플 구문 분석기 파일 BipSampPluginParser.c에서 발췌한 것입니다(494-496 행).
while ((!cpiElementCompleteNext(&rc, element)) && (!cpiFirstChild(&rc, element)) && (pc->iCurrentElement))