does anybody know if the following transmissions are compatible?

JPP with XHW

My 2007 Jetta GLI transmission (JPP) just died. I found used one from 2006 GTI (XHW) but Im not sure if it is going to work with my car since the codes are different.

thanks