I am trying to grab a value from a time period read. I want to filter the xpath for internalTaskID (as below) - but it is failing. If I use a literal number (@internalTaskId=123456) it works fine. I am guessing the variable is passing single quotes. Any ideas? The variable is being set from a SQL query.