My folder hierarchy is as follows:
a/a.XML a/b/b.XML
i will select a.XML file and i have read this file. Now i have path of b.XML file. My question is how to read this XML file as i am not getting its input i only have its path. I have searcg on net but i didnt found any help how to read XML file wihout giving its input. I want my code to be run in google chrome
My code for reading XML file throug input is as follows:
if(filePath.files && filePath.files[0])
{
reader.onload = function (e)
{
output = e.target.result;
console.log("file path");
console.log(output);
}
}