XML_ForwardFindTag

Searches forward from the given cursor position to the end of the buffer to find the specified tag. Note: This function currently assumes that the tag has no attributes.

Service:VFS

Syntax

#include <xmlnss.h>

STATUS XML_ForwardFindTag (
   utf8_t   *tag,
   NINT      tagLen,
   utf8_t   *cursor,
   utf8_t   *bufferEnd,
   utf8_t  **endOfTag);

Parameters

tag

Points to the name of the tag to be searched for.

tagLen

Specifies the length of the tag name.

cursor

Points to the starting position of the search.

bufferEnd

Points to the end of the buffer to search.

endOfTag

Points to the closing angle brack of the tag.

Return Values

The return status should either be zOK or a valid NSS error code.