How to use the XBoolean function from xpath
Find comprehensive JavaScript xpath.XBoolean code examples handpicked from public code repositorys.
33 34 35 36 37 38 39 40 41 42
functionNameExpr ) { const functionName = (typeof functionNameExpr === 'string') ? functionNameExpr : functionNameExpr.evaluate(xPathContext); const functionFound = xPathContext.functionResolver.getFunction(functionName) !== undefined; return new XPath.XBoolean(functionFound); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /*
4
7
3
+ 54 other calls in file
xpath.select is the most popular function in xpath (2001 examples)