Rendering an XML file as PDF does not make much sense.
Do you wish to show the data in a XML file as a PDF?
If so the standard way would be to annotate it using XSL:FO and then use one the XS:FO to PDF renderers available.
--
Joe (
Microsoft MVP - XML)