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);

Extract the target namespace from an XSD schema.

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

Extract the target namespace from an XSD schema.

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

Extract the target namespace from an XSD schema.

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

Extract the target namespace from an XSD schema.

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

Extract the target namespace from an XSD schema.

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

Return Value

true on success, and false otherwise

Parameters

Name

Description

xsdSource

XSD schema text to parse

targetNamespace

string to receive the extracted namespace

Created with MrDocs