There's nothing in XSLT or FO that lets you do that. But you can go through FOP's intermediate format [1] because there you have each page separately as an XML file which you can easily cut down to two pages. Still, the whole document will be layouted. The alternative is to use a PDF library to extract the first two pages from the full PDF file.
[1] http://xmlgraphics.apache.org/fop/stable/intermediate.html Jeremias Maerki On 27.11.2007 15:58:30 Andrejus Chaliapinas wrote: > Hi, > > Is it possible to achieve via usage of fo:page-sequence-master or > fo:page-sequence or combining fo:page-number into some xsl logic? While big > documents may have one special front page and all the same layout rest pages > - for testing purposes only 2 first document pages are required. > > Any help would be appreciated. > > Andrejus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
