ajax - Reading local XML file from browser using javascript -


i writing html page myself(i not want use webserver) need read xml file (on same folder .html file) , parse data it. name of file known , not dynamic. now, aware due restrictions browsers not allow cross origin requests on ajax calls because of security restrictions. seems option filesystem api.

could me out code same please?

in short
1. read xml file javascript once page loads in browser .
2. name of xml file known , on same directory level.
3. how use filesystem api reading file , parsing xml

constraints
1. dont want use web-server page(since single page app).
2. dont want use javascript libraries(like jquery etc).
3. dont want tweak chrome adding flags.
4. alright if solution works on chrome.

thanks


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -