[#BloombergLP-balxml-ElementAttribute-prefix] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/ElementAttribute.adoc[ElementAttribute]::prefix :relfileprefix: ../../../ :mrdocs: Return the namespace prefix for this attribute. == Synopsis Declared in `<balxml_elementattribute.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char const* prefix() const; ---- == Description Return the value of `prefix` specified at the last call to `reset` or the constructor, if non‐zero, else return a copy of the prefix portion of the qualified name. More precisely, return a copy of the portion of `qualifiedName()` up to, but not including, the colon. Return an empty string if the qualified name has no colon or if `prefixStack()` returns zero. == Return Value attribute namespace prefix, or empty if none [.small]#Created with https://www.mrdocs.com[MrDocs]#