[#BloombergLP-balxml-Util-extractNamespaceFromXsd-009]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Util.adoc[Util]::extractNamespaceFromXsd
:relfileprefix: ../../../
:mrdocs:

`extractNamespaceFromXsd` overloads

== Synopses

Declared in `&lt;balxml&lowbar;util&period;h&gt;`

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-047.adoc[extractNamespaceFromXsd](
    std::string&lowbar;view const& xsdSource,
    xref:bsl/string.adoc[bsl::string]* targetNamespace);
----

[.small]#xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-047.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-03b.adoc[extractNamespaceFromXsd](
    std::string&lowbar;view const& xsdSource,
    std::pmr::string* targetNamespace);
----

[.small]#xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-03b.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-040f0.adoc[extractNamespaceFromXsd](
    std::string&lowbar;view const& xsdSource,
    std::string* targetNamespace);
----

[.small]#xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-040f0.adoc[_» more&period;&period;&period;_]#

Extract the target namespace from the XSD schema read from the specified `xsdSource` and load it into the specified `targetNamespace`&period; Return `true` on success, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-040fe.adoc[extractNamespaceFromXsd](
    std::streambuf* xsdSource,
    xref:bsl/string.adoc[bsl::string]* targetNamespace);
----

[.small]#xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-040fe.adoc[_» more&period;&period;&period;_]#

Extract the target namespace from the XSD schema read from the specified `xsdSource` and load it into the specified `targetNamespace`&period; Return `true` on success, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-034.adoc[extractNamespaceFromXsd](
    std::streambuf* xsdSource,
    std::pmr::string* targetNamespace);
----

[.small]#xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-034.adoc[_» more&period;&period;&period;_]#

Extract the target namespace from the XSD schema read from the specified `xsdSource` and load it into the specified `targetNamespace`&period; Return `true` on success, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-00f.adoc[extractNamespaceFromXsd](
    std::streambuf* xsdSource,
    std::string* targetNamespace);
----

[.small]#xref:BloombergLP/balxml/Util/extractNamespaceFromXsd-00f.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
