Okay, referring to the thread quoted above, I was able to get partway there. I've assembled the XPATH expression and it's getting assigned dynamically to a new variable. Now my question is how do I do assign a new value to my dynamically generated XPATH location? I'm not good with the executeScript...