Hi David,
the problem is that using the xlateOutVals variable in a post xlate proc won’t work. You have to put the data in the xpm handle. Try this one.
xpmstore $xlateId [lindex $xlateOutList 0] c $x
This should store your data in the right field on the outbound side.
Merry x-mas from germany.
Dirk