Find the attribute at the specified index in the current node.
Synopsis
Declared in <balxml_reader.h>
virtual
int
lookupAttribute(
ElementAttribute* attribute,
int index) const = 0;
Description
Fill in the specified attribute structure. Return 0 on success, 1 if no attribute is found at the index, and an a negative value otherwise. The strings that were filled into the attribute structure are invalid upon the next advanceToNextNode or close is called.
Return Value
0 on success, 1 if not found, and a negative value otherwise
Parameters
Name |
Description |
attribute |
structure to receive the attribute |
index |
zero‐based attribute index in the current node |
Created with MrDocs