Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
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 March 27th, 2006, 05:03 AM
Registered User
 
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default using different margin settings in <fo:layout-mast

i have a master.xsl which is used to generate the word document,m using JFor Api.
in my case, my requirement is to pick a specific margin settings depending upn the value of <fo:page-sequence>, but some how specifications always picks the last margin settings i.e. in the followings

<fo:layout-master-set>
<fo:simple-page-master master-name="content" margin-bottom="1.2in" margin-right="1in" margin-left="1in" margin-top="0.5in"
                                page-height="29.7cm"
                                page-width="21cm">
<fo:region-body />
<fo:region-after />
</fo:simple-page-master>

<fo:simple-page-master master-name="tableofcontents" margin-bottom="1in" margin-right="1in" margin-left="1in" margin-top="0.5in"
                                page-height="29.7cm"
                                page-width="21cm">
<fo:region-body />
<fo:region-after />
</fo:simple-page-master>

if the <fo:layout-master-set> tag has more than one <fo:simple-page-master> tags, it always picks the last margin settings no matter what is provided through <fo:page-sequence master-reference=" ">

Although I have tried few things including the following one inside the </fo:layout-master-set> tag
</fo:page-sequence-master>
   <fo:page-sequence-master master-name="content">
   <fo:single-page-master-reference master-name="content"/>
</fo:page-sequence-master>

but it also didn’t work out and the issue still persists. Please help me out. if you have any inputs.







Similar Threads
Thread Thread Starter Forum Replies Last Post
When to use Padding, Margin and Position? chobo2 CSS Cascading Style Sheets 1 May 29th, 2008 08:58 AM
margin values? kennethjaysone CSS Cascading Style Sheets 2 December 23rd, 2007 05:32 AM
Changing Settings.settings when assembly is in GAC evandro.paula .NET Framework 2.0 0 September 25th, 2007 09:54 AM
<fo:external-graphic> not displaying image devauk XSLT 0 July 18th, 2006 11:40 AM
how can i give uniform space b/w lines of <fo:bloc jyotsnag XSLT 0 March 14th, 2006 11:55 PM





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