Simple JavaScript functions to get an XML file whether it is stored locally or remotely.