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
. 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
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
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
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
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
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
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,
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
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
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.
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
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
...
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
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
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
.
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
:[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
-
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
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
20 matches
Mail list logo