This content has been marked as final. Show 5 replies
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
If you have XML, one thing to try is xsl-fo stylesheets and an XSL processor like Apache's FOP.
im using tomcat, and would need to be able to create the stylesheet from a jsp page. how this is possible im not sure
Message was edited by:
it appears it is possible to embed FOP in tomcat, dont know how tho