Fix the default url of get_xml function.

This enable a user to configure uri in get_xml function.