Extract the target namespace from an XSD schema.

Synopsis

Declared in <balxml_util.h>

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

Description

Extract the target namespace from the XSD schema read from 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

stream buffer from which to read the XSD schema

targetNamespace

string to receive the extracted namespace

Created with MrDocs