Extract the target namespace from an XSD schema.

Synopsis

Declared in <balxml_util.h>

static
bool
extractNamespaceFromXsd(
    std::string_view const& xsdSource,
    std::pmr::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

Name

Description

xsdSource

XSD schema text to parse

targetNamespace

string to receive the extracted namespace

Created with MrDocs