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
I have a doc like following. I want to extract the text of "abc" and "def", when text of node "b" starts with "a". I first used a XPath /root/a/b[starts-with(text(), 'a')]/.. to get to node "a". Then evaluate //a/b/text() and //a/c/text() on node "a". Surprisingly it returned content of a's sibling. What should I do?
I have a doc like following. I want to extract the text of "abc" and "def", when text of node "b" starts with "a". I first used a XPath
/root/a/b[starts-with(text(), 'a')]/..
to get to node "a". Then evaluate//a/b/text()
and//a/c/text()
on node "a". Surprisingly it returned content of a's sibling. What should I do?Rust code:
The text was updated successfully, but these errors were encountered: