You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by VIRUEGA Pierre <pi...@sofrecom.com> on 2001/10/24 16:25:33 UTC

Re: Fop2PDFServlet using FOP 0.20.1

Hello,
A question about using FOP in a servlet with 2 files (xmlfile and xslfile).
Is it possible to use URL instead of File ?

In the servlet example, we use :
XSLTInputHandler(java.io.File xmlfile, java.io.File xsltfile)

Tks for any help.
Pierre

Keiron Liddle a �crit :

> On Fri, 21 Sep 2001 18:15:54 MEMMADI Said wrote:
> > Hi all,
> > I need example of servlet using FOP 0.20.1 and wich generate PDF file
> > from xsl file and xmlString.
> >
> > I've old code wich don't work now with this last version.
> >
> > What is the best way xmlString or creating DOM object if I've not xml
> > file.
> >
> >
> > Thanks in advance.
>
> I have updated the servlet example which you can view in cvs or here:
>
> http://cvs.apache.org/viewcvs.cgi/xml-fop/docs/examples/embedding/FopServlet.java?rev=1.4&content-type=text/vnd.viewcvs-markup