[#BloombergLP-balxml-Reader-setResolver]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Reader.adoc[Reader]::setResolver
:relfileprefix: ../../../
:mrdocs:

Set the external XML resource resolver to the specified `resolver`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
setResolver(xref:BloombergLP/balxml/Reader/XmlResolverFunctor.adoc[XmlResolverFunctor] resolver) = 0;
----

== Description

The XML resource resolver is used by the `balxml&lowbar;reader` to find and open an external resources (See the `XmlResolverFunctor` typedef for more details)&period; The XML resource resolver remains valid&semi; it is not affected by a call to `close` and should be available until the reader is destroyed&period; The behavior is undefined if this method is called after calling `open` and before calling `close`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *resolver*
| functor used to open external XML resources
|===


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