[#BloombergLP-balxml-PrefixStack-pushPrefix] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/PrefixStack.adoc[PrefixStack]::pushPrefix :relfileprefix: ../../../ :mrdocs: Map the specified `namespaceUri` to the specified `prefix` and return the namespace Id. New mapping eclipses previous mapping. == Synopsis Declared in `<balxml_prefixstack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int pushPrefix( std::string_view const& prefix, std::string_view const& namespaceUri); ---- == Return Value the namespace ID associated with `namespaceUri` == Parameters [cols="1,4"] |=== | Name| Description | *prefix* | namespace prefix to register | *namespaceUri* | URI of the namespace to associate with `prefix` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#