Originally posted by Jeanne Cole
Hi All
We're trying to replace an ampersand with T on OBX5 within the XLT using:
set xlateOutVals [list [string map {&. \T\} [lindex $xlateInVals 0]]]
It's not working - seems to be ignoring the tcl because of the &. The string map works if we test using a different character - but it doesn't seem to like the ampersand. I searched through clovertech and found some references from others, but I'm still not clear whether or not we can replace the & from within a XLT and just are doing it incorrectly -or- does this need to be done in a tcl proc on the inbound TPS?
Appreciate your help!
Jeanne Cole
GE Healthcare