[_] server based pdf creation
Tim Marsh
timothy.j.marsh at googlemail.com
Wed Dec 2 13:45:01 GMT 2009
> > > We're looking to allow customer to download a pdf of various xhtml pages > within a reporting system. > > > Hi Mike, in that case I'd probably look at FOP - theres this which may give you variable mileage : http://www.antennahouse.com/XSLsample/sample-xsl-xhtml2fo/xhtml2fo.xsl (ref here: http://www.antennahouse.com/XSLsample/XSLsample.htm ) to go from your xhtml to your basic FOP.. a bit of tweaking and that as a starting point might do the trick. if its a fairly small subset of the xhtml spec that its using , you could get a pretty good directed transform going. this might be useful if you want to go down that route: http://xmlgraphics.apache.org/fop/0.94/servlets.html#xslt be happy to offer any pointers etc. Cheers Tim