Subject:Xpath using a Variable for [@ID=1234] Author:Peter Buswell Date:12 Oct 2013 05:03 PM
Newbie here - I can create the XML doc and use the Xpath tool to make a query. What I have not figured out how to do, is to use a variable in the Xpath. For example I can set up a path like
//Technician[@ID="1234"]/TechnicianCell using the Stylus Xpath tool.
I want to be able to test the format using a variable name for "1234" above. Where can I create a variable give it a variable and then test it in the xpath tool?