HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › Generate PDF from XSLT file This topic has 2 replies, 3 voices, and was last updated Sep 15, 201114:22:08 by Anonymous. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts Jeppe September 12, 2011 at 15:54 #26604 Hi. I have an XML file that is transformed by XSL into HTML (XLST). So when entering the URL in the browser a HTML page is shown. When running your servlet sample code (PD4MLBySslServlet.java) the browser opens a PDF file showing the XML content and NOT the HTML content. How can I get a PDF showing the transformed HTML content? Here is a link to the XML file: http://www.cateringportal.dk/rekvisition/GetFoodTicket?style=false&foodXMLTicketID=154&uid=UYpkSMIi8jvQ4qLhn2MlbGaFVTPnz6G1BRSa3WXxSKBfTPcbra Here is the same link with XSL transformation: http://www.cateringportal.dk/rekvisition/GetFoodTicket?style=html&foodXMLTicketID=154&uid=UYpkSMIi8jvQ4qLhn2MlbGaFVTPnz6G1BRSa3WXxSKBfTPcbra PD4ML September 13, 2011 at 16:26 #28649 In the case first you need to use Xalan or other XSLT transformer to produce HTML from the source XML/XSL. You may find some useful hints in the sources of Dxl2Pdf, which converts DXL to HTML. http://pd4ml.com/command-line-dxl-to-pdf-converter.htm Anonymous September 15, 2011 at 14:22 #28650 Thanks it works 🙂 Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.