RE: Need Working Sample

2001-07-08 Thread Michiel Verhoef
sage- $ From: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]] $ Sent: Friday, July 06, 2001 10:11 AM $ To: '[EMAIL PROTECTED]' $ Subject: RE: Need Working Sample $ $ $ Hi Jim, $ I have exactly the same problem, and I've just found a non $ elegant, working solutio

Re: Need Working Sample

2001-07-06 Thread Karen Lease
Hi again, Just to make sure I wasn't talking through my hat, I tried out what I told you to do. It works OK for me. I attached a short java file (TestXSLT) which I tested with your xml and xsl. Here is what I used to run it (TestXSLT.class in the local directory). java -cp .:build/fop.jar:lib/xe

Re: Need Working Sample

2001-07-06 Thread Dave Frankson
I've been doing XML+XSL+FOP transforms in a servlet for months. I have a servlet that takes an xml and an xsl parameter (either a url to a file, a url to a jsp page that dynamically generates the xml, or an ObjectID that where the Object is taken from an Object database and transformed to xml

RE: Need Working Sample

2001-07-06 Thread Steven Lane
>The FopServlet reads a .fo file. This is of no use to me. I will >dyamically generate XML contianing only data. This XML will be in a >StringBuffer. I first need to apply an XSL sytle sheet to this >StringBuffer, generating a new XML stream (IN MEMORY). This new (IN MEMORY) >XML stream then

AW: Need Working Sample

2001-07-06 Thread Thieler Jens
Hi Gustavo, I've tried several ways to pass the data (in memory) from source (basically SVG in my case) through FOP. Here is one example: Node svgTree = ...// DOM source Reader style = ...// the XSL OutputStream stream = ... // destination //

AW: Need Working Sample

2001-07-06 Thread Erik Rehrmann
det: Freitag, 6. Juli 2001 17:52 > An: [EMAIL PROTECTED] > Betreff: RE: Need Working Sample > > > Sorry, but this does not work for two reasons. > > 1. The XML does NOT exist on disk! It is in memory only, and > writing it to > disk is NOT an option. > > 2. Thi

RE: Need Working Sample

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
on. I am fighting this stuff for days also and I have to finish my project by next Friday. -Message d'origine- De : Erik Rehrmann [mailto:[EMAIL PROTECTED]] Envoyé : vendredi, 6. juillet 2001 17:26 À : '[EMAIL PROTECTED]' Objet : AW: Need Working Sample Hi Gustavo, the f

RE: Need Working Sample

2001-07-06 Thread John Wyman
n>  -Original Message-From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 11:09 AMTo: [EMAIL PROTECTED]Subject: Need Working Sample Hi, I am new to FOP.  I have a servlet which dynamically generates XML.  I need to apply an XSL stylesheet cont

RE: Need Working Sample

2001-07-06 Thread Jim Urban
ay, July 06, 2001 10:26 AM To: '[EMAIL PROTECTED]' Subject: AW: Need Working Sample Hi Gustavo, the following works great: ByteArrayOutputStream out = new ByteArrayOutputStream(); Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); InputHandler

RE: Need Working Sample

2001-07-06 Thread Marc Lindsay
TED]] Sent: Friday, July 06, 2001 11:52 AM To: [EMAIL PROTECTED] Subject: RE: Need Working Sample Sorry, but this does not work for two reasons. 1. The XML does NOT exist on disk! It is in memory only, and writing it to disk is NOT an option. 2. This is a high traffic web application. Starting a

RE: Need Working Sample

2001-07-06 Thread Jim Urban
, 2001 10:11 AM To: '[EMAIL PROTECTED]' Subject: RE: Need Working Sample Hi Jim, I have exactly the same problem, and I've just found a non elegant, working solution: I generate my XML file, and then call the command line Fop from within my servlet: Runtime.getRuntime

Re: Need Working Sample

2001-07-06 Thread Ralph LaChance
At 10:08 AM 7/6/01 -0500, you wrote: Hi, I am new to FOP. I urge you to check the references on the fop web site -- particularly Ch15 of Harold. XML Bible and the two Eisenburg tutorials http://www.xml.com/pub/a/2001/01/17/xsl-fo/index.html ' Best, -Ralph LaChance

AW: Need Working Sample

2001-07-06 Thread Erik Rehrmann
ilto:[EMAIL PROTECTED]] > Gesendet: Freitag, 6. Juli 2001 17:11 > An: '[EMAIL PROTECTED]' > Betreff: RE: Need Working Sample > > > Hi Jim, > I have exactly the same problem, and I've just found a non > elegant, working solution: > > I generate

RE: Need Working Sample

2001-07-06 Thread Jim Urban
Message- From: Cyril Rognon [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 10:03 AM To: [EMAIL PROTECTED] Subject: Re: Need Working Sample There is a FOP servlet example in the distribution of FOP : /docs/examples/embedding/FopServlet.java I think it will answer all the beginners

RE: Need Working Sample

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
TED] Objet : Re: Need Working Sample There is a FOP servlet example in the distribution of FOP : /docs/examples/embedding/FopServlet.java I think it will answer all the beginners questions. See the example section on the FOP site to see all pre-answered question you might have in your beginni

RE: Need Working Sample

2001-07-06 Thread Wolf Gustavo (SGC-EXT)
l files. Cheers, Gustavo PS: if someone has an elegant solution I would be happy to use it too. > -Message d'origine- > De : Jim Urban [mailto:[EMAIL PROTECTED]] > Envoyé : vendredi, 6. juillet 2001 17:09 > À : [EMAIL PROTECTED] > Obje

Re: Need Working Sample

2001-07-06 Thread Cyril Rognon
There is a FOP servlet example in the distribution of FOP : /docs/examples/embedding/FopServlet.java I think it will answer all the beginners questions. See the example section on the FOP site to see all pre-answered question you might have in your beginning journey. (starting with http://xml.a

Need Working Sample

2001-07-06 Thread Jim Urban
Hi, I am new to FOP. I have a servlet which dynamically generates XML. I need to apply an XSL stylesheet containing FO tags to generate a FO version of the XML and then I need to run this FO version of the XML through FOP (or Driver) so the servlet can return a dynamically created PDF to the bro