[#BloombergLP-balxml-NamespaceRegistry-lookup-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]::lookup :relfileprefix: ../../../ :mrdocs: `lookup` overloads == Synopses Declared in `<balxml_namespaceregistry.h>` Return the URI string for the specified namespace `id`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char const* xref:BloombergLP/balxml/NamespaceRegistry/lookup-00.adoc[lookup](int id) const; ---- [.small]#xref:BloombergLP/balxml/NamespaceRegistry/lookup-00.adoc[_» more..._]# Return the integer ID for the specified `namespaceUri`, or ‐1 if it is unregistered. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/balxml/NamespaceRegistry/lookup-0c.adoc[lookup](std::string_view const& namespaceUri) const; ---- [.small]#xref:BloombergLP/balxml/NamespaceRegistry/lookup-0c.adoc[_» more..._]# == Return Value * the URI for `id`, or an empty string if `id` is unknown * the integer ID for `namespaceUri`, or ‐1 if unregistered == Parameters [cols="1,4"] |=== | Name| Description | *id* | namespace identifier to look up | *namespaceUri* | namespace URI to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#