[#BloombergLP-balxml-PrefixStack-2constructor-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/PrefixStack.adoc[PrefixStack]::PrefixStack
:relfileprefix: ../../../
:mrdocs:

Create an empty registry&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
PrefixStack(
    xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]* namespaceRegistry,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *namespaceRegistry*
| registry used to map namespace URIs to IDs
| *basicAllocator*
| memory allocator used to supply memory
|===


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