Daniel,
first off, using golf cart batteries is not a good idea, maybe for moving the truck from one place to another in certain circumstances but they should not be used in normal conditions at all. Testing maybe if they are fully charged.
now with that said, what is the serial number of the truck?
most cases when the hydraulic system won't function is a bad connection or control valve switch adjustment.
knowing the serial number will tell me alot as to what system is on this unit. they changed them so much during that period in the XM series it's hard to guess.
I'm going to presume it has a standard hydraulic contactor controlled system on it and NOT an SCR Premium controlled system. If it was SCR there wouldn't be a contactor to activate the pump motor, it would have a 2nd ev100 controller mounted on the RH side of the traction controller. This simplifies things quite a bit if this is the standard control.
The switch design on the levers and control valve is a rather bad one and can get out of wack pretty easy when it wears and does not have much tolerance in adjustments. Getting those switches to activate on the ramps on the guide block assy can be nerve racking. You can go to the switches and use a small screw driver and manually activate the switch to see if the motor will turn on. If the ramps on the guides that activate the switches are worn they will have to be replaced, you'll never get it adjusted correctly otherwise and it will not work right. Adjusting them will be near impossible.
As for the control for the pump they show several configurations of different ones. If you can take a picture of it and send it to my email address shown in my signature here.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.