BloombergLP::balxml::Util::extractNamespaceFromXsd

Extract the target namespace from an XSD schema.

Synopses

Declared in <balxml_util.h>

Extract the target namespace from an XSD schema.

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

Extract the target namespace from an XSD schema.

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

Extract the target namespace from an XSD schema.

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

Extract the target namespace from an XSD schema.

static
bool
extractNamespaceFromXsd(
    std::streambuf* xsdSource,
    bsl::string* targetNamespace);
» more...

Extract the target namespace from an XSD schema.

static
bool
extractNamespaceFromXsd(
    std::streambuf* xsdSource,
    std::pmr::string* targetNamespace);
» more...

Extract the target namespace from an XSD schema.

static
bool
extractNamespaceFromXsd(
    std::streambuf* xsdSource,
    std::string* targetNamespace);
» more...

Return Value

true on success, and false otherwise

Parameters

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