XML_GetNextTag

Returns the next tag that is found in the specified buffer. The function also updates the element information for the found element.

Service:VFS

Syntax

#include <xmlnss.h>

STATUS XML_GetNextTag (
   utf8_t             *bufferStart,
   utf8_t             *bufferEnd,
   XML_ElementInfo_s  *elementInfo,
   utf8_t            **tagName,
   NINT               *tagLen);

Parameters

bufferStart

Points to the starting position for the search.

bufferEnd

Points to the ending position for the search.

elementInfo

Points to the structure that is updated to show where the element starts and ends.

tagName

Points to the beginning of the tag name in the buffer.

tagLen

Points to the length of the tag name.

Return Values

Returns zOK if the tag is found. Otherwise, it returns zFAILURE.

Remarks

.