[#BloombergLP-balxml-PrefixStack-lookupNamespacePrefix]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/PrefixStack.adoc[PrefixStack]::lookupNamespacePrefix
:relfileprefix: ../../../
:mrdocs:

Return a copy of the specified `prefix` if `prefix` is registered or an empty string if `prefix` is not registered&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
char const*
lookupNamespacePrefix(std::string&lowbar;view const& prefix) const;
----


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