Re: multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-10 Thread Clóvis Wichoski
Hi, Can't you use multiple page-sequences instead of just creating one sequence 'interrupted' by the 'ctrlPage' template? but How? this template is more difficult since it is used in with a more complicated XML like groupproduct/.../group..., the way that I sent is for brevety to discover

multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-09 Thread Clóvis Wichoski
Hi FOP DevTeam, I developed a way to generate multiple page-sequence on XSL without to change my XML, but the XML-XSL-PDF don't work, to make this work, first I need to generate the .fo file, then transform this to PDF. if run: fop.sh -xml sample.xml -xsl multiplePageSequence.xsl -pdf

Re: multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-09 Thread Jeremias Maerki
On 09.01.2004 18:29:14 Clóvis Wichoski wrote: snip/ xsl:template name=ctrlPage xsl:if test=(position() mod 3) = 0 xsl:text disable-output-escaping=yes![CDATA[/fo:flow/fo:page-sequencefo:page-sequence master-reference=A4 language=pt country=br]]/xsl:text

Re: multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-09 Thread Clóvis Wichoski
Hi Jeremias, The CDATA is only to maintain the XSL well-formed, since I close fo:flow on another template, the tech is good, maybe dev team implement a SAX over the stream from XML+XSL transformation option, this is the feature that I mean. Note that this is to reduce memory consuption. Best

Re: multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-09 Thread Chris Bowditch
Clóvis Wichoski wrote: The CDATA is only to maintain the XSL well-formed, since I close fo:flow on another template, Opening and closing XML tags within different XSL templates is bad practice. You'll need to redesign your XSL stylesheet or run the XSL Transform as a separate process,

Re: multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-09 Thread Clóvis Wichoski
Chris Bowditch wrote: Opening and closing XML tags within different XSL templates is bad practice. You'll need to redesign your XSL stylesheet or run the XSL Transform as a separate process, serialize the resulting FO and then present the FO to FOP. But with multiple pages like 500 pages the

Re: multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-09 Thread Clay Leeds
This is just a guess, but perhaps you could do a pre-pass using XSL to generate multiple output pages, and then use something like iText[1] to concatenate your output files together. FOP Resources: http://xml.apache.org/fop/resources.html I hope this helps! Web Maestro Clay On Jan 9, 2004, at

RE: multi page-sequence don't work for (XML+XSL) to PDF on the fly

2004-01-09 Thread Andreas L. Delmelle
-Original Message- From: Clovis Wichoski [mailto:[EMAIL PROTECTED] snip / But with multiple pages like 500 pages the redesign must be in XML source, that need redesign in all XSL too (HTML, PDF, TXT and many others), this cause a rework that I attempted to avoid, and only needed