Without knowing any details, I would guess that you have a couple of options;
Parse the xml using SAX or some similar tool and use the data recovered to create the document using an existing API; HWPF for example would allow you to create a simple Word documnet or, if you were much braver, you could use the SWT to 'drive' Word using OLE/COM.
If you are very lucky and the xml document conforms to the format Word has recently begun to recognise, you could just try opening the document in Word using the Desktop class.
As far as I am aware, there is no one tool that will do all of this for you. Of course, you could try using Google of visiting Sourceforge to see if anyone is working on such an application.
yeh, ill have to look into that.
From my research i have found out it is possible to use xslt to create a web page and xsl-fo to create a pdf document but i dont have any skill with xsl-fo and there is little documentation so i was wondering what my options were
the xml file is designed using the structure: hr-xml and contains infomation about an individual. the plan is to use the xml file to create a cv