Skip to content

Using xpath_query with xpath_variable_set #430

Answered by zeux
CisimEjirtimid asked this question in Q&A
Discussion options

You must be logged in to vote

Variables can't be used in @-tests. You're looking for something like //node[attribute::*[name() = $attributeName and value() = $attributeValue]]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CisimEjirtimid
Comment options

Answer selected by CisimEjirtimid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants