You can't spend more xp at a time than would make you lose a level. Your item is impossible to make until epic levels and with epic spellcasting who needs wishes anymore?
You can explicitly not level up in order to spend XP on a spell or magic item creation.
If any idiot ever tells you that life would be meaningless without death, Hyperion recommends killing them!