[#BloombergLP-balxml-Util-extractNamespaceFromXsd-040fe] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Util.adoc[Util]::extractNamespaceFromXsd :relfileprefix: ../../../ :mrdocs: Extract the target namespace from an XSD schema. == Synopsis Declared in `<balxml_util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool extractNamespaceFromXsd( std::streambuf* xsdSource, xref:bsl/string.adoc[bsl::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 [cols="1,4"] |=== | Name| Description | *xsdSource* | stream buffer from which to read the XSD schema | *targetNamespace* | string to receive the extracted namespace |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#