LaTeX is an often-used format for scientific documents (especially in HEP).
Almost all the preprints in HEP are in LaTeX (also JHEP).
LaTeX describes the structure of an Scientific document (modulo some preesentation hacks).
XML describes the structure of applications in a generic way.
XML is based on Open standards and is supported by many vendors.
XML is ideal as a central strategy for the Web.