add variable in xpath

hi , i cant succeed add variable in xpath (libxml) brand = "037" xpath = "//Root/Stk[@Category='601' and @Brand=#{brand}]" stack = node.find(xpath)

i used #{brand} but doesnt work

i solved thanks :slight_smile:

You should post your solution for someone else's future reference.