Save/Load game using XML on Browser/Web Player

I am currently working on the ways to store the location and tags of the game objects online and trying to load them dynamically on calling them. I looked into this XML wiki - http://unifycommunity.com/wiki/index.php?title=Save_and_Load_from_XML and am using the JavaScript included there. The script works properly when I run it in the editor and also as a stand alone app. But it doesn't work on the browser. Should I rewrite the script to actually use WWW to load the xml file or am I doing something wrong? Am currently using the script with its File IO The Application.dataPath for some reason does not work with the web browser.

For all other new users who want to know what I did to use XML on web player-

I loaded the XML file using the WWW class to load the URL.

function LoadXML()
{
var url = "http://localhost/unity/sample.xml";
var www = new WWW(url);
while(!www.isDone)
{
yield WaitForSeconds(1);
}
yield www;
var _info : String = www.data;
_data=_info;
}

For writing back to the XML, I had to write a PHP file and called it using the WWWForm.

You can't use local file I/O in the web player for security reasons.