[#BloombergLP-balxml-ElementAttribute-prefix]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ElementAttribute.adoc[ElementAttribute]::prefix
:relfileprefix: ../../../
:mrdocs:

Return the value of `prefix` specified at the last call to `reset` or the constructor, if non&hyphen;zero, else return a copy of the prefix portion of the qualified name&period; More precisely, return a copy of the portion of `qualifiedName()` up to, but not including, the colon&period; Return an empty string if the qualified name has no colon or if `prefixStack()` returns zero&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
char const*
prefix() const;
----


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