It depends really. Both would network fine but you should take what experience you have with Vista into account.
If you have never used Vista before, or found it difficult it would be best to stick to what you know and use XP. I think it is also a cheaper option and a personal preference of myself. Though, if you have a specific reason to go with Vista use that. We can help you set up a network between both your computers regardless of what you choose