<DIV>There is no way you can determine number of pages in XSLT. You need to do this in 2 passes. </DIV> <DIV> </DIV> <DIV> </DIV> <DIV>1> Generate XEP-OUT xml which is intermediate format of XEP.</DIV> <DIV>2> Determine the number of pages using DOM parser and modify the input XML(Actual Data) with Element containing #number of pages to be generated. In second phase your XSLT will find data in XML. </DIV> <DIV> </DIV> <DIV>I can provide you sample code if you need. Try using String formatOption = "XEP" instead of String formatOption = "PDF" to generate intermediate format.<BR><BR></DIV> <DIV> </DIV> <DIV>Thanks<BR><BR><B><I>relliquest@planet.nl</I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Dear All,<BR>Is there any way to set the size of the first page to be a factor of the<BR>total number of pages? <BR><BR>every time the number of !
pages is
20pages more, i would like to first<BR>page to be 0.1mm wider, to be able to cater for the spine width during<BR>binding of the book.<BR><BR>don't know if this is possible in any way.<BR><BR>thanks!<BR><BR>jim quest<BR>-------------------<BR>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'<BR>in the body of the message to majordomo@renderx.com from the address<BR>you are subscribed from.<BR>(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html<BR></BLOCKQUOTE> <DIV><BR></DIV><p>
                <hr size=1>Yahoo! Photos<br>
Ring in the New Year with <a href="http://us.rd.yahoo.com/mail_us/taglines/photos/*http://pa.yahoo.com/*http://us.rd.yahoo.com/mail_us/taglines/photos/evt=38087/*http://pg.photos.yahoo.com/ph//page?.file=calendar_splash.html&.dir=">Photo Calendars</a>. Add photos, events, holidays, whatever.