Forum Discussion
ccdssv1
13 years agoContributor
hey, you can't use the single quote (') multiple times in the same string, that will means the end of your string, instead you need to use the double quote ("). this should be the correct way:
def errorCode = holder2.getDomNode('//dsml:attr[@name="errorCode"]/dsml:value/text()').nodeValue