Finds the entire element for a given tag. The function searches between the given start and end pointers and returns an updated element structure.
#include <xmlnss.h> STATUS XML_GetTagElement ( utf8_t *tag, utf8_t *bufferStart, utf8_t *bufferEnd, XML_ElementInfo_s *elementInfo);
Points to the NULL-terminated tag name for the element to be found.
Points to the starting position of the search.
Points to the ending position of the search.
Points to the structure that is updated to show where the given element starts and ends.
Returns zOK if the tag is found. Otherwise, it returns zFAILURE.