Re: AW: Pass xsl:param value to FOP through command line

2002-11-28 Thread Oleg Tkachenko
Clay Leeds wrote: What's currently happening: (I currently have enough FLOW content to print 3 ODD pages). ODD page prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page (Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back and read that. Yes, it's an ODD page

AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Scherler, Thorsten
. November 2002 22:26 An: [EMAIL PROTECTED] Betreff: RE: Pass xsl:param value to FOP through command line I use XML Spy to write the FO file itself. Then I use FOP to take XML input XSL inputs to generate the output. My command line looks like this: c:\Program Files\java\fop-0.20.4fop -d -xml C

AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Scherler, Thorsten
will watching the list for your success ;-) Regards Thorsten -Ursprüngliche Nachricht- Von: Scherler, Thorsten Gesendet: Mittwoch, 27. November 2002 16:08 An: [EMAIL PROTECTED] Betreff: AW: Pass xsl:param value to FOP through command line Hello Clay, You wrote: Unfortunately, that's

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Oleg, Thanks for the reply! At 10:36 AM 11/27/2002, you wrote: Clay Leeds wrote: I didn't find this answer in the archives. I'd like to pass an xsl:param value to FOP. Is this possible? I found some information about doing this through the use of a servlet, however I'm using *.BAT files (under

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Oleg, At 01:25 PM 11/27/2002, you wrote: Clay Leeds wrote: I'll try this. Unfortunately, at this time, my clients are already complaining about how long it takes to output using FOP. Here's the info from FOP's debug mode: [DEBUG] Initial heap size: 1828Kb [DEBUG] Current heap size: 7003Kb

Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: What's currently happening: (I currently have enough FLOW content to print 3 ODD pages). ODD page prints Page 1 of 5, EVEN page (Wahoo!), ODD page (3 of 5), EVEN page (Wahoo!), ODD page (5 of 5), ODD page (6 of 5 -- not Wahoo!). Go back and read that. Yes, it's an ODD page

Re: Pass xsl:param value to FOP through command line

2002-11-27 Thread Oleg Tkachenko
Clay Leeds wrote: using fop-0.20.4 I'll check into the cvs version stuff if I can. However, I doubt my clients will be interested in using a non-release version. Well, then wait 0.20.5rc, probably next week. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

Re: AW: Pass xsl:param value to FOP through command line

2002-11-27 Thread Clay Leeds
Oleg, You've been a great help. Through all of this, I've learned a bunch about FOP (particularly limitations abilities). At 02:17 PM 11/27/2002, you wrote: Clay Leeds wrote: What's currently happening: (I currently have enough FLOW content to print 3 ODD pages). ODD page prints Page 1 of 5,

Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Howdy, I didn't find this answer in the archives. I'd like to pass an xsl:param value to FOP. Is this possible? I found some information about doing this through the use of a servlet, however I'm using *.BAT files (under Windows) *.sh scripts (in *NIX). I'd like to be able to pass xsl:param or

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
No. (at least I don't know what xsp is). My clients have installed JRE 1.4 FOP, and that is all. I'd rather not have to install other items (if possible, of course). I'm just wondering if it's possible to pass variable param values directly to FOP through the command line. If it makes any

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
Sorry, but can't help. I am using fop within cocoon. XSP stands for Extensible Server pages. But if you pass values to fop, can't you insert the params BEFORE passing it to fop? Clay Leeds wrote: No. (at least I don't know what xsp is). My clients have installed JRE 1.4 FOP, and that is all.

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
That's what I'm trying to do by passing the PARAM in the COMMAND line. It may just be that I don't completely understand the process. I have a system which outputs an XML file, and if a setting exists, will print that file using XSL:FO. I have a 2nd page in the XSL:FO that is static (it's a

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
Clay Leeds wrote: That's what I'm trying to do by passing the PARAM in the COMMAND line. It may just be that I don't completely understand the process. I have a system which outputs an XML file, and if a setting exists, will print that file using XSL:FO. I have a 2nd page in the XSL:FO that is

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
... At 09:22 AM 11/26/2002, you wrote: So I would store the information in that script. Then you need two fop-Stylesheets. 1) with the rear page 2) without As they say here in the United States... Well, duh! That solves it for me. The only problem now, is that I'll have two separate files to

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
STOP! I tought about something: the .bat is for generating the the xml, right? Then just do like you wanted: take an element call it e.g. rear/. then if rear rear1/rear else rear0/rear From there it is stylesheet work: xsl:if test=rear=1Backpage/xsl:if xsl:if test=rear=0front only/xsl:if Regards

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Won't work. The .BAT is *not* for generating XML. It just prints it. Our primary app does the XML file generation. Regards stuff. :-) At 09:37 AM 11/26/2002, you wrote: STOP! I tought about something: the .bat is for generating the the xml, right? Then just do like you wanted: take an element

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
. Hope this helps. -Matt -Original Message- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 9:40 AM To: [EMAIL PROTECTED] Subject: Re: Pass xsl:param value to FOP through command line Won't work. The .BAT is *not* for generating XML. It just prints

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
:[EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 9:40 AM To: [EMAIL PROTECTED] Subject: Re: Pass xsl:param value to FOP through command line Won't work. The .BAT is *not* for generating XML. It just prints it. Our primary app does the XML file generation. Regards stuff. :-) At 09:37

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
- From: Clay Leeds [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 12:07 PM To: [EMAIL PROTECTED] Subject: RE: Pass xsl:param value to FOP through command line Matt, Thanks. Actually, my .BAT file is calling _FOP_ through the command line. As for servlets, I don't think we

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
PROTECTED] Subject: RE: Pass xsl:param value to FOP through command line Matt, Thanks. Actually, my .BAT file is calling _FOP_ through the command line. As for servlets, I don't think we are using them at all. Because all the examples I've seen discuss how to pass param values to servlets