Simplify get_xml_base()
Merge pull request #60 from Kroisse/fix

Simplify get_xml_base()