terminology:
Nodes/Atomic values/parent/children/siblings/Ancestors/Descendants
examples:
Using XMLHttpRequest to load XML documents is supported in all modern browsers.
var xmlhttp=new XMLHttpRequest()
IE: xmlDoc.selectNodes(xpath);
other browsers:xmlDoc.evaluate(xpath, xmlDoc, null, XPathResult.ANY_TYPE,null);
xpath = /bookstore/book/title Select all the titles
/bookstore/book[1]/title select the first book title
/bookstore/book[price>35]/title
No comments:
Post a Comment