The response is a block of data rather than a parameterList, so you can't refer to <Pan> without manipulating the whole response block. I try to keep the response as a block, rather than parsing it as a W3C document, so I usually split the response into three segments; before the block I want to modify, the block I want to modify, after the block I want to modify. Other people perfer to do it in other ways.
My way ends up looking something like this (not syntax checked)
myResponse=lisa_vse_response.getBodyText();
startPos = myResponse.indexOf("Pan>") + 4;
endPos = myResponse.indexOf("</ns0:Pan");
if(endPos < startPos) {
//Something has gone wrong. Flag an error and abort
} else {
prefix = myResponse.substring(0, startPos);
ccNumber = myResponse.substring(startPos + 1, endPos);
suffix = myResponse.substring(endPos + 1);
ccNumber = ccNumber.replace("-","");
myResponse = prefix + ccNumber + suffix;
}
lisa_vse_response.setBody(myResponse);
I think there are various historic examples of doing things like this in this forum, so you will be able to see how other people approach this if you press the search button (magnifying glass at the top right of this window) and search for "lisa_vse_response".
Rick