RE: Multiples Pages

2014-02-10 Thread edi4988
Thanks for the reply

But I need to generate a Pdf file with a XSLT template and I have n XML
data files like source and the pdf file has a page for every xml file.

Do You have any idea like I can use the XSLT document() function?

Thanks.





--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Multiples-Pages-tp40001p40041.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Multiples Pages

2014-02-10 Thread Rob Sargent

What is your current stack for going from data (source xml) to fo?

My first guess is that either you combine source docs into single fo.  
An alternative is to post-process the pdfs with something like iText.



On 02/10/2014 03:09 PM, edi4988 wrote:

Thanks for the reply

But I need to generate a Pdf file with a XSLT template and I have n XML
data files like source and the pdf file has a page for every xml file.

Do You have any idea like I can use the XSLT document() function?

Thanks.





--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Multiples-Pages-tp40001p40041.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org





Re: Multiples Pages

2014-02-07 Thread Frank Hirsch
Rather a XSLT question than FO - but check if the XSLT document() function does 
the job for you.
http://www.w3schools.com/XSL/func_document.asp

Best,
Frank

On 07 Feb 2014, at 19:42, edi4988 edi4...@gmail.com wrote:

 Hi,
 
 I want to generate a PDF file with many pages but all the pages with the
 same XSLT template and every page with differents data from XML files.
 
 Do you know any idea How can I do this?
 
 Thanks
 
 
 
 --
 View this message in context: 
 http://apache-fop.1065347.n5.nabble.com/Multiples-Pages-tp40001.html
 Sent from the FOP - Users mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



RE: Multiples Pages

2014-02-07 Thread Theresa Forster
You can either use a count of pages via XSLT/FOP or encode the page number
as a value in the XML. 

I have done either way in the past.

This article may help:

http://comments.gmane.org/gmane.text.xml.fop.user/13460

-Original Message-
From: edi4988 [mailto:edi4...@gmail.com] 
Sent: 07 February 2014 18:43
To: fop-users@xmlgraphics.apache.org
Subject: Multiples Pages

Hi,

I want to generate a PDF file with many pages but all the pages with the
same XSLT template and every page with differents data from XML files.

Do you know any idea How can I do this?

Thanks



--
View this message in context:
http://apache-fop.1065347.n5.nabble.com/Multiples-Pages-tp40001.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org