[#BloombergLP-balxml-Utf8ReaderWrapper-lookupAttribute-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Utf8ReaderWrapper.adoc[Utf8ReaderWrapper]::lookupAttribute
:relfileprefix: ../../../
:mrdocs:

Find the attribute at the specified `index` in the current node, and fill in the specified `attribute` structure&period; Return 0 on success, 1 if no attribute is found at the `index`, and an a negative value otherwise&period; The strings that were filled into the `attribute` structure are invalid upon the next `advanceToNextNode` or `close` is called&period;

== Synopsis

Declared in `&lt;balxml&lowbar;utf8readerwrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
int
lookupAttribute(
    xref:BloombergLP/balxml/ElementAttribute.adoc[ElementAttribute]* attribute,
    int index) const override;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
