Return the integer ID for the specified namespaceUri, registering it if necessary.

Synopsis

Declared in <balxml_namespaceregistry.h>

int
lookupOrRegister(std::string_view const& namespaceUri);

Description

Assign a new ID if the namespaceUri has not been registered before. Note that the IDs for pre‐registered namespaces (including the empty URI) are less than zero. (See "Preregistered Namespaces" in the balxml_namespaceregistry component‐level documentation.)

Return Value

the integer ID for namespaceUri

Parameters

Name

Description

namespaceUri

namespace URI to look up or register

Created with MrDocs