I am assuming that you are talking about the '72-'77 XL250? There are several options, some are currently available and some are not, but might be found on EBay or in a used tranny... First of all you can swap out the gears from an XL350 which is a little wider ratio overall. Or you can go really wide ratio and swap in the transmission from the TL250 trials bike. It is close ratio 1-3 and wide ratio 4th and 5th.. If you swap in the TL gears to an earlier 250 tranny you will also need to swap the shifter drum and forks because they are different on the later engines.
There are also the "Webster" 2 gear and 4 gear sets to work with 3rd and 4th gears which were a little weak in the "dog" area and could break with high horsepower engines. Typically this is done with the bigger engines. One of the guys in AU is supposed to be working on a 2 gear set similar to the Webster gears but improved but I haven't heard anything in over a year about his progress.
Also there were Primary gear sets that replaced the crank gear and the clutch basket gear that were available in the late '70s. These are no longer available but I am working with a Racer in Sweden that says that he can build the sets up. These gear sets increase the rpms going into the transmission and reduce the Torque input into the tranny by about 30%. You make the ratios the same by using a larger rear sprocket...
Now, what are you looking for?
Swiss