mioxml_download("http://www.mioplanet.com/data.xml", "xml_data_loaded");
// Download completed...
function xml_data_loaded(status) {
if(status) {
// Success, retreive the content of the file using the MIO_XML object
alert(MIO_XML.xml);
}else {
// Failure: can be a wrong URL or an error in the XML file
alert("Failure");
}
} |