PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Generate PDF from XSLT file
   PostPosted: 12 Sep 2011, 17:54 
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/rekvisitio ... SKBfTPcbra

Here is the same link with XSL transformation:
http://www.cateringportal.dk/rekvisitio ... SKBfTPcbra


  Subject: Re: Generate PDF from XSLT file
   PostPosted: 13 Sep 2011, 18:26 
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


  Subject: Re: Generate PDF from XSLT file
   PostPosted: 15 Sep 2011, 16:22 
Thanks it works :)



[Reply]     [ 3 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share