Wrox Programmer Forums
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 26th, 2008, 01:37 AM
Registered User
 
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default xsl:fo

We need Primary chapter to flow on "odd" pages and Secondary chapter to flow on "even" pages. Pls provide us the correct "pagesetup" to generates output.

Below is the sample xml for reference.

<book>
<chapter no="1" section="primary">
<title>English</title>
<para>Primary Section Primary Section Primary Section Primary Section Primary Section Primary Section Primary Section Primary Section Primary Section Primary Section Primary Section Primary Section </para>
</chapter>

<chapter no="1" section="secondary">
<title>English</title>
<para>
scondary Section scondary Section scondary Section scondary Section scondary Section scondary Section scondary Section scondary Section scondary Section scondary Section scondary Section scondary Section
</para>
</chapter>
</book>
 
Old December 29th, 2008, 12:49 AM
Friend of Wrox
 
Join Date: Jun 2008
Posts: 291
Thanks: 9
Thanked 29 Times in 29 Posts
Default

This is not a forum to discuss about xsl:fo. This forum is mailly meant for XSLT questions.
__________________
Rummy
 
Old December 29th, 2008, 03:42 AM
Authorized User
 
Join Date: Oct 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

If I am not wrong then your need is
page set for primary [Always start on Odd page]
page set for secondary [Always start on Even page]

if this is the case then

On the basis of your chapter match you can create 2 different page sets and that can be picked up when the certain condition will arise.

That means

1] 1 page set for primary
2] 2 page set for secondary

I think this can help you

cheers,
Mahesh





Similar Threads
Thread Thread Starter Forum Replies Last Post
RDF, OWL and XSL-FO NEO1976 XSLT 6 August 23rd, 2006 04:23 AM
XSL-FO NEO1976 XML 2 July 19th, 2006 10:10 AM
xsl:fo with Select Birger XSLT 4 July 18th, 2006 11:38 AM
XSL-FO Question gray XSLT 1 February 18th, 2005 11:31 AM
hello, some problems with XSL-FO LuisMM XSLT 4 December 19th, 2003 02:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.