Find the attribute with the specified localName and namespaceId.
Declared in <balxml_minireader.h>
virtual
int
lookupAttribute(
ElementAttribute* attribute,
char const* localName,
int namespaceId) const override;
Fill in the specified attribute structure. Return 0 on success, 1 if there is no attribute found with localName and namespaceId, and a negative value otherwise. If namespaceId == -1, then the document's default namespace will be used. The strings that were filled into the attribute structure are invalid upon the next advanceToNextNode or close is called.
0 on success, 1 if not found, and a negative value otherwise
| Name | Description |
|---|---|
| attribute | structure to receive the attribute |
| localName | local name of the attribute to find |
| namespaceId | namespace ID, or -1 for the default |