[#BloombergLP-balxml-Reader-XmlResolverFunctor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Reader.adoc[Reader]::XmlResolverFunctor :relfileprefix: ../../../ :mrdocs: Type for a user supplied functor that finds and opens an external resource for the specified `location` and/or `namespaceUri` and returns that resource as a managed pointer to a stream. The `location` argument specifies the location of the external resource and is typically a filename or a URI, depending on the context. The `namespaceUri` argument always refers to the XML namespace of the entity to be resolved. A conforming functor returns an empty managed pointer if it cannot resolve the resource. For example, the reader may use a resolver to open an external entity, even if the reader does not do validation (see definition of `<!ENTITY>` in the XML standard). Note that either argument can be NULL in situations where its value is not needed or can be computed from the other argument. == Synopsis Declared in `<balxml_reader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef xref:bsl/function-0a.adoc[bsl::function<StreamBufPtr(char const*, char const*)>] XmlResolverFunctor; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#