I found way the second template would could execute. The bindings must be in the form of Map<String,Object>, but I was passing in a GString as the key for the map. Note: "$parameterName" is a GString. After converting the key to a String the second template executed correctly.
-- View this message in context: http://groovy.329449.n5.nabble.com/How-do-I-bind-XPath-expression-values-to-a-template-using-Groovy-tp5732187p5732195.html Sent from the Groovy Users mailing list archive at Nabble.com.
