Determines if the complete main XML element has been received in a write operation. This function builds up an internal buffer that holds the entire XML stream until the main element is closed.
#include <nssPubs.h> STATUS MGMT_FindFirstElement ( VirtInfo_s *virtInfo, utf8_t *tagName, NINT bufferLength, BYTE *buffer, NINT offset, XML_ElementInfo_s *element);
Points to a structure that is unique for each open instance of the virtual file. It contains information about the state of the file, as well as the results buffer. Usually, you will not change the contents of this structure but simply pass it to other functions.
Points to the name of the main element of the XML that is to be parsed.
Specifies the length of the data that is being passed to the write function.
Points to the data that is being passed to the write function.
Specifies the offset of the write.
Points to a structure that contains the results of the XML element parsing. It includes a pionter to the start of the element's data and to the end of the element's data.
The return status should either be zOK or a valid NSS error code.