XPath uses path expressions to select nodes or node-sets in an XML document. These path expressions look very much like the path expressions you use with traditional computer file systems: XPath Standard Functions
Unfortunately, there are different ways of dealing with XPath in different browsers. Chrome, Firefox, Edge, Opera, and Safari use the evaluate() method to select nodes: xmlDoc.evaluate( xpath , xmlDoc, null, XPathResult.ANY_TYPE,null);
XPath is a syntax for defining parts of an XML document; XPath uses path expressions to navigate in XML documents; XPath contains a library of standard functions; XPath is a major element in XSLT and in XQuery; XPath is a W3C recommendation
In XPath, there are seven kinds of nodes: element, attribute, text, namespace, processing-instruction, comment, and root nodes. XML documents are treated as trees of nodes. The topmost element of the tree is called the root element.
Result: 'XPath is FUN!' fn:string-join( (string,string,...),sep ) Returns a string created by concatenating the string arguments and using the sep argument as the separator
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.