Skip to content
New issue

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

Xpath API do not support filter data by wildcard #313

Closed
zaker139 opened this issue Mar 11, 2022 · 4 comments
Closed

Xpath API do not support filter data by wildcard #313

zaker139 opened this issue Mar 11, 2022 · 4 comments

Comments

@zaker139
Copy link

xml content:

<root>
    <a>123</a>
    <b>456</b>
    <c>789</c>
</root>

Xpath like "/root/*[.='789']" shoud return <c>789</c>

Seems xpath API like xpath_first now do not support path like above.

@olofhagsand
Copy link
Member

Confirm that '*' does not work in some contexts.

@olofhagsand
Copy link
Member

olofhagsand commented Mar 15, 2022

Wait, something wrong with patch,..

@olofhagsand
Copy link
Member

Now fixed. Please verify

@zaker139
Copy link
Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants