BloombergLP::balxml::Util::extractNamespaceFromXsd

Extract the target namespace from an XSD schema.

Synopsis

Declared in <balxml_util.h>

static
bool
extractNamespaceFromXsd(
    std::string_view const& xsdSource,
    std::string* targetNamespace);

Description

Extract the target namespace from the XSD schema in the specified xsdSource and load it into the specified targetNamespace. Return true on success, and false otherwise.

Return Value

true on success, and false otherwise

Parameters

NameDescription
xsdSourceXSD schema text to parse
targetNamespacestring to receive the extracted namespace