Hi, Patrick,

I use XSLT 2.0 all the time, so I assume that everyone does. My bad.

You can use XSLT 2.0 with FOP, thus:

1. Use your XSLT 2.0 processor to create an FO file.

2. Then feed the FO file to FOP.

For example, suppose you use Saxon 8 (as I do) for for your XLST processor
and that it's installed off the root directory. Then you'd get two command
lines that look like this:

java -jar \saxon\saxon8.jar -o myfile.fo myinput.xml something-to-fo.xsl
fop myfile.fo myfile.pdf

That combination would turn myinput.xml into myfile.pdf.

I have a whole pile of batch files and Ant tasks to run that process on all
kinds of input files.

HTH

Jay Bryant
Bryant Communication Services

----- Original Message ----- 
From: "Patrick" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 10, 2006 1:23 PM
Subject: Re: Ending a row and starting a new one.


> I'm trying to follow your suggestion, but this is where I'm stuck:
>
> > <xsl:variable name="cells">
> >   <xsl:call-template name="your-template"/>
> > </xsl:variable>
>
> The variable "cells" contains the correct data as returned by my template
but
> not as a node-set, so I can't act on it as such.  I ran into this before
when I
> was trying to get something else to work.  I think the problem may be that
I'm
> using XSLT 1.0/XPath 1.0.  If I have to use 2.0, will that work with
Apache FOP
> 0.20.5?
>
> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to