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
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
You should post your solution for someone else's future reference.