[#BloombergLP-balxml-NamespaceRegistry-lookup-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]::lookup
:relfileprefix: ../../../
:mrdocs:

Return the URI string for the specified namespace `id`&period;

== Synopsis

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

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

== Description

Return the null&hyphen;terminated string containing the URI of the namespace registered with the specified `id` or an empty (not null) string if `id` does not correspond to a preregistered namespace or a namespace that was previously registered with this object&period;

== Return Value

the URI for `id`, or an empty string if `id` is unknown

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| namespace identifier to look up
|===


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