javascript - DOJO - Query XmlStore using XPath -
i have dojox.data.xmlstore , want query xml store using xpath. there way ? example below represent query attribute, want use xpath query provided item element. var store = new dojox.data.xmlstore({url: "books.xml", rootitem: "book"}); var gotbooks = function(items, request){ for(var = 0; < items.length; i++){ var item = items[i]; console.log("located book: " + store.getvalue(item, "title"); } } var request = store.fetch({query: {isbn:"a9b57*"}, oncomplete: gotbooks}); for example if have dojo dijit.tree element, support onclick event, want able fetch content of selected element. item element has field called "query" represent xpath query item itself. how can use xpath query fecth data store ? var tree = new tree({ model: mymodel, onclick: function(item){ //the item parameter has field called "query" represent xpath query item itself. } }); if i'm using "query...