We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given an example XML: <object> <element> <node>x</node> </element> <element> <node>x</node> </element> <element> <node>x</node> </element> <element> <node>y</node> </element> <element> <node>x</node> </element> </object>
<object> <element> <node>x</node> </element> <element> <node>x</node> </element> <element> <node>x</node> </element> <element> <node>y</node> </element> <element> <node>x</node> </element> </object>
This seems to work:
count(object/element[node='x'])
This does not:
object/count(element[node='x'])
You get: Error evaluating XPath
This works in other XPath tools, such as: https://www.freeformatter.com/xpath-tester.html#before-output
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given an example XML:
<object> <element> <node>x</node> </element> <element> <node>x</node> </element> <element> <node>x</node> </element> <element> <node>y</node> </element> <element> <node>x</node> </element> </object>
This seems to work:
count(object/element[node='x'])
This does not:
object/count(element[node='x'])
You get: Error evaluating XPath
This works in other XPath tools, such as:
https://www.freeformatter.com/xpath-tester.html#before-output
The text was updated successfully, but these errors were encountered: