Re: xslt and fo process

2002-11-25 Thread Oleg Tkachenko
MARTIN Franck wrote:
Is there any way to transform the value returned by the instruction 
 before printing it? Let's say i would like to double 
it and then print the result, could i use an xsl:variable or not?
You cannot. All you can do with a page number is to format it to some kind of 
degree using java-like number formatting, see 
http://www.w3.org/TR/xsl/slice6.html#fo_page-sequence, properties:
* [7.24.1 "format"]
* [7.24.4 "letter-value"]
* [7.24.2 "grouping-separator"]
* [7.24.3 "grouping-size"]

Fop is able to process a fo file directly but it is also able to process 
a xsl file and a xml file. In the cas i give fop 2 files to process 
(xml+xsl), will it always give the same result as giving it the fo file 
(obtained from the xml and xsl)??
Sure.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: xslt and fo process

2002-11-25 Thread MARTIN Franck
Thank you for your help
- Original Message -
From: "Chris Bowditch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 25, 2002 11:36 AM
Subject: Re: xslt and fo process


> Hi Franck, see comments below
>
> >
> >Hello,
> >
> >Is there any way to transform the value returned by the instruction
> > before printing it? Let's say i would like to double it
> >and then print the result, could i use an xsl:variable or not?
> >
> >Fop is able to process a fo file directly but it is also able to process
a
> >xsl file and a xml file. In the cas i give fop 2 files to process
> >(xml+xsl), will it always give the same result as giving it the fo file
> >(obtained from the xml and xsl)??
> >
> >Franck
>
> Although you pass both the XML and XSL file to FOP, there is still a 2
stage
> process, and this is just for convenience. FOP calls the XSLT processor
> (Xalan) to process all the XSL elements first, before attempting to render
> the FO to PDF. There is no way to know about page numbers in the XSLT
stage.
>
> Chris
>
>
> _
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> -
> 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]



Re: xslt and fo process

2002-11-25 Thread Chris Bowditch
Hi Franck, see comments below
Hello,
Is there any way to transform the value returned by the instruction 
 before printing it? Let's say i would like to double it 
and then print the result, could i use an xsl:variable or not?

Fop is able to process a fo file directly but it is also able to process a 
xsl file and a xml file. In the cas i give fop 2 files to process 
(xml+xsl), will it always give the same result as giving it the fo file 
(obtained from the xml and xsl)??

Franck
Although you pass both the XML and XSL file to FOP, there is still a 2 stage 
process, and this is just for convenience. FOP calls the XSLT processor 
(Xalan) to process all the XSL elements first, before attempting to render 
the FO to PDF. There is no way to know about page numbers in the XSLT stage.

Chris
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


xslt and fo process

2002-11-25 Thread MARTIN Franck



Hello,
 
Is there any way to transform the 
value returned by the instruction  before printing 
it? Let's say i would like to double it and then print the result, could i use 
an xsl:variable or not?
 
Fop is able to process a fo file directly but it is 
also able to process a xsl file and a xml file. In the cas i give fop 2 files to 
process (xml+xsl), will it always give the same result as giving it the fo file 
(obtained from the xml and xsl)??
 
Franck