[#BloombergLP-balxml-MiniReader-lookupAttribute-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/MiniReader.adoc[MiniReader]::lookupAttribute :relfileprefix: ../../../ :mrdocs: Find the attribute with the specified `qname` (qualified name) in the current node, and fill in the specified `attribute` structure. Return 0 on success, 1 if there is no attribute found with `qname`, and a negative value otherwise. The strings that were filled into the `attribute` structure are invalid upon the next `advanceToNextNode` or `close` is called. == Synopsis Declared in `<balxml_minireader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual int lookupAttribute( xref:BloombergLP/balxml/ElementAttribute.adoc[ElementAttribute]* attribute, char const* qname) const override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#