Emmanuel,
I have to generate different pdf output documents (via web and via a java app). Via
web there is no problem (I'm using cocoon), but I don't know how to use the same xsl
file within my java app.
_______________________________________
Erik Rehrmann - IOn AG
[EMAIL PROTECTED]
> -----Urspr�ngliche Nachricht-----
> Von: Emmanuel Dupouy [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 28. Juni 2001 11:26
> An: [EMAIL PROTECTED]
> Betreff: RE: Problem using embedded fop with xml and xsl input
>
>
> You can use Saxon as XSLT parser.
>
> With the extended tag <output method="fop:fop"
> href="filename.pdf"/> you can
> embed your call to fop in the xslt.
>
> Emmanuel
>
> -----Message d'origine-----
> De : Erik Rehrmann [mailto:[EMAIL PROTECTED]]
> Envoy� : jeudi 28 juin 2001 11:39
> � : Fop-Dev (E-Mail)
> Objet : Problem using embedded fop with xml and xsl input
>
>
> Hi,
>
> maybe this is a silly question, but I hope someone can give me a hint:
>
> I have a XSL stylesheet, say foo.xsl, and dynamically
> generated xml files,
> say foo.xml. Now I want to create a PDF document which works fine via
> command line parameters <fop -xml foo.xml -xsl foo.xsl -pdf foo.pdf>.
>
> How do I generate the pdf document within my application?
> If tried
>
> org.apache.fop.apps.Driver driver = new Driver(new
> org.xml.sax.InputSource(new FileInputStream("foo.xml")), new
> FileOutputStream("foo.pdf");
> driver.setRenderer(driver.RENDER_PDF);
> driver.run();
>
> But where do I say to use the foo.xsl?
>
> Any help is greatly appreciated,
> _______________________________________
> Erik Rehrmann - IOn AG
> [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
> ==============================================================
> ===========
> Ce message et toutes les pi�ces jointes sont propri�t� de VALTECH et
> susceptibles de contenir des informations confidentielles �
> l'intention
> exclusive de ses destinataires. Si vous avez re�u ce message
> par erreur
> ou si celui ci vous est parvenu incomplet ou alt�r�, merci
> d'en avertir
> l'exp�diteur par retour.Toute utilisation, diffusion ou
> publication non
> express�ment autoris�e par nous par �crit est strictement interdite.
>
> --------------------------------------------------------------
> ------------
> This message and any attachments are Valtech property and may contain
> iconfidential information intended solely for the addressees.
> If your are
> not the intended recipient of this message or if you have received it
> uncomplete or altered, please notify the author by replying
> to his e-mail
> immediately. Any unauthorised use, diffusion or dissemination not
> expressly authorised by us in writing is strictly prohibited.
> ==============================================================
> ===========
> Copyright Valtech 2000
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]