Simplify get_xml_base()