Page 1 of 1

xml & xsl to PDF file

Posted: Thu Feb 07, 2019 4:47 pm
by abonsey
Hi All,
I have regularly supplied data as an xml a file long with an accompanying xsl file that results in the xml opening fine in Explorer or Firefox (as a manual process which is then printed out).
What I'd like to do is use Switch to read the xml with the xsl to the save out as a finished PDF.

Not got an idea where to start.

Anybody able to guide me.

TIA

Re: xml & xsl to PDF file

Posted: Thu Feb 07, 2019 5:40 pm
by jan_suhr
PdfToolbox can create PDF from html.

Re: xml & xsl to PDF file

Posted: Fri Mar 01, 2019 5:10 pm
by sander
As far as I know there's no html when you open a xml with a xsl. It looks nicely formatted from within a browser but that's it, it's still xml.

Try Saxon, there's a configurator for that one, and set the according stylesheet. I'm wondering what the output of this is, after we can see what to do with it :)