BloombergLP::balxml::PrefixStack::pushPrefix

Map the specified namespaceUri to the specified prefix and return the namespace Id. New mapping eclipses previous mapping.

Synopsis

Declared in <balxml_prefixstack.h>

int
pushPrefix(
    std::string_view const& prefix,
    std::string_view const& namespaceUri);

Return Value

the namespace ID associated with namespaceUri

Parameters

NameDescription
prefixnamespace prefix to register
namespaceUriURI of the namespace to associate with prefix