Issue #2249723 by andrei.dincu: Customize callback method to output xml in XmlSitemapController class
Issue #2249723 by andrei.dincu: xmlsitemap_sitemap_load_by_context() and xmlsitemap_get_directory() process XmlSitemapInterface object