use SimpleXMLElement class for creating XML
use \VuFind\Date\Converter for working with dates