Windows.Data.Xml.Dom.XmlDocument.loadFromFileAsync(file, loadSettings).then(function (doc) { var xml = doc.getXml(); var xpath = "/chapter"; var nodesList = doc.selectNodes(xpath); // Title is the first node vm.title = nodesList[0].selectSingleNode("title").innerText; // orderletters is the second node vm.orderletters = nodesList[0].selectSingleNode("orderletters").innerText; // html is the third node vm.html = nodesList[0].selectSingleNode("html").innerText;; WinJS.UI.processAll().then(function () { WinJS.Binding.processAll(document.body, vm); });}
sdf ;lkjdsf ;lkjdsf