How can I produce an xml sequence diagram?

With NDepend you can get some call graphs. The call graph can be done at several level: assemblies, namespaces, classes or methods. In the GIF below see a classes call graph and how it is generated. See the related documentation here.

NDepend call graph generation