How to read Xml file(which is used as data base ) using javascript or jquery or ajax call.? -


i saw 1 project in 1 developer save 1 xml(as database) file having data .and call database (xml file) using jquery or ajax , used data in project .i want learn thing .he placed file on project.he call database , fetch data database.can please give me example in jquery how fetch data?he making mobile app using jquery , phonegap .

thanks

$.get('/some/path/file.xml', function (data) {     var xmldoc = $(data);     // traversing:     var somechildnodes = xmldoc.find('section > article'); } 

Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -