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
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
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
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
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,
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
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
-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