You have to search for an XT550 service manual , since the XT400 is the same bike with different piston/sleeve, carburettor and exaust - but it's electrics (and frame obvoiusly) are different from XT600 !
If you may read French, the R.M.T. Revue Moto technique , edited by
www.etai.fr is well done, but I think that would be possible to "borrow" it from a Dealer , since is a pretty old bike ..