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
For example,
document:
<input name="hi" id="in"></input>
I hope
//*[@id="in"]//@name
to return a Vec containing hi, but in fact it returns an empty Vec.
Vec
hi
This syntax works in python lxml, so I guess it's a problem with this library?
lxml
The text was updated successfully, but these errors were encountered:
Yes, attribute selection with XPath has not yet been implemented, but it is on my todo list.
In the meantime you can just get the node with XPath and use the library to retrieve the attributes. See the docs here.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
For example,
document:
I hope
to return a
Vec
containinghi
, but in fact it returns an emptyVec
.This syntax works in python
lxml
, so I guess it's a problem with this library?The text was updated successfully, but these errors were encountered: