I would think that if you're xi is a 6-speed then it might fit, but highly doubtful if its a 5-speed.
Its a really nice shifter, much shorter throws than even the BMW performance short shift lever.
2003 BMW 330i ZHP
ESS Twin Screw Stage 2 - Wavetrac - Headers - Magnaflow - BMW Performance Intake and SSK
Turner Motorsports Reinforcements and Spacers - Powerflex - StopTech