We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4e96e commit 04eb9a1Copy full SHA for 04eb9a1
src/index.ts
@@ -1,5 +1,4 @@
1
export { XPath } from './xpath';
2
export { Xslt } from './xslt';
3
-export { xmlParse } from './dom';
4
-export { xmlEscapeText } from './dom/util';
+export { xmlParse, xmlEscapeText } from './dom';
5
export { ExprContext } from './xpath';
src/xpath/expressions/filter-expr.ts
@@ -27,7 +27,7 @@ export class FilterExpr extends Expression {
27
nodes = [];
28
for (let j = 0; j < nodes0.length; ++j) {
29
const n = nodes0[j];
30
- if (this.predicate[i].evaluate(ctx.clone(n, j, nodes0)).booleanValue()) {
+ if (this.predicate[i].evaluate(ctx.clone(nodes0, j)).booleanValue()) {
31
nodes.push(n);
32
}
33
0 commit comments