[#BloombergLP-balxml-Utf8ReaderWrapper-lookupAttribute-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Utf8ReaderWrapper.adoc[Utf8ReaderWrapper]::lookupAttribute :relfileprefix: ../../../ :mrdocs: Find the attribute with the specified `localName` and specified `namespaceId` in the current node, and 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. == Synopsis Declared in `<balxml_utf8readerwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual int lookupAttribute( xref:BloombergLP/balxml/ElementAttribute.adoc[ElementAttribute]* attribute, char const* localName, int namespaceId) const override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#