Processing XML/XSL in a java application

admin

Administrator
Staff member
Hi folks,I have an xml file (data.xml) containing SQL queries, and an XSLT stylesheetto turn the results into a PDF document.When called from the browser through the webserver (and Cocoon) the resultsare displayed on screen by simply calling the data.xml.Can anyone tell me how can I within a java program- envoke the XML/SQL parser to execute the SQL queries, and then- envoke the XSLT processor to apply the styling required.I tried using the org.apache.fop.apps.XalanCommandLine however as this onlyattempts to apply the stylesheet onto the data.xml file without executingthe SQL queryies it only half does the job.Thanks
 
Back
Top