- C# is the main programming language in Microsofts .Net environment (although you can use other ones, but most professionals use C#).
- XML isn't really a language.
- Java is more or less equivalent to C#, but works outside .Net.

I can't see any reason to prefer Java to C# or the other way around from a career point of view.

Kees