I could be wrong, but I think xform only works with the object pivots and not the pivot of a group of selected vertices. I did figure out an obscure way to do it:
ctxEditMode;
scmh -a 10 10 10;
ctxEditMode;
This will move the pivot of whatever is select to 10 10 10. I can't find any documentation for the 'scmh' command, so I don't know if there are other useful flags. It is the command used for numerical input, and it is only used in that one script (numericalInput.mel). I discovered it by pure random luck.