How to use the XNodeSet function from xpath

Find comprehensive JavaScript xpath.XNodeSet code examples handpicked from public code repositorys.

47
48
49
50
51
52
53
54
55
56
 * @returns {XPath.XNodeSet} - The context node within a node set.
 */
static current (
  xPathContext
) {
  const nodeSet = new XPath.XNodeSet();
  nodeSet.add(xPathContext.contextNode);

  return nodeSet;
}
fork icon4
star icon7
watch icon3

+ 109 other calls in file