You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What did you do(使用的表达式与使用场景,确保能够复现)?
If possible, provide a recipe for reproducing the error. String test="<div class='a'> a <div>need</div> <div class='e'> not need</div> c </div>";
JXDocument j = JXDocument.create(test); List<JXNode> l = j.selN("//div[@class='a']//text()[not(ancestor::div[@class='e'])]"); for (JXNode i : l){ System.out.println(i); }
`
What did you expect to see(期望看到什么)?
a need c
What did you see instead(JsoupXpath给出的结果)?
a need no need c
What version of JsoupXpath are you using(当前版本)?
2.3.2
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
String test="<div class='a'> a <div>need</div> <div class='e'> not need</div> c </div>";
JXDocument j = JXDocument.create(test);
List<JXNode> l = j.selN("//div[@class='a']//text()[not(ancestor::div[@class='e'])]");
for (JXNode i : l){
System.out.println(i);
}
`
What did you expect to see(期望看到什么)?
a need c
What did you see instead(JsoupXpath给出的结果)?
a need no need c
What version of JsoupXpath are you using(当前版本)?
2.3.2
The text was updated successfully, but these errors were encountered: