TeXML is a key component of a path to print solution for XML.
The path to print begins with your XML document. You write an XSL transform which accepts your document type and outputs a new XML document which conforms to the TeXML document type. The java program, TeXMLatte transforms any document conforming to the TeXML document type into TeX.
You may now use your TeX processor to produce typeset output from XML.
The materials provided here give several examples of XML content transformed to TeX.
There are three parts to the solution: