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 match multiple arguments not working #25

Open
SamVerschueren opened this issue May 2, 2015 · 0 comments
Open

XPath match multiple arguments not working #25

SamVerschueren opened this issue May 2, 2015 · 0 comments

Comments

@SamVerschueren
Copy link

Suppose you have this xml document

<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
    <book title="A" lang="en" />
    <book title="A" lang="fr" />
</bookstore>

And you want to match the book with title A and language en, you can do that with the following XPath.

/bookstore/book[@title="A" and @lang="en"]

But if I try this, it returns the error Error: Invalid attribute predicate.

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

No branches or pull requests

1 participant