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

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;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
extractNamespaceFromXsd(
    std::streambuf* xsdSource,
    std::pmr::string* targetNamespace);
----


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