[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: custom page sequence in xslfo

Subject: Re: custom page sequence in xslfo
From: Sarkup Sarkup <sarkups@xxxxxxxxx>
Date: Fri, 1 Aug 2008 07:25:33 -0700 (PDT)
Re:  custom page sequence in xslfo
Thank you very much Ken. I will try this out. 




--- On Fri, 8/1/08, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:

> From: G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx>
> Subject: Re:  custom page sequence in xslfo
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Friday, August 1, 2008, 12:46 AM
> XSL-FO does not allow one to trigger different page
> geometries 
> dynamically in the flow, which is what you are trying to
> do.
> 
> However, this is something my customer needed for
> landscape-oriented 
> tables and I came up with a solution called
> "PSMI" for "Page Sequence 
> Master Interleave":
> 
>   
> http://biglist.com/lists/xsl-list/archives/200203/msg00879.html
>   
> http://biglist.com/lists/xsl-list/archives/200403/msg00464.html
> 
> This will do what you want, and the end result works with
> any XSL-FO 
> engine, but there is an intermediate XSLT process that
> requires one 
> to create the XSL-FO outside of the engine and pass the
> transformed 
> instance to the engine standalone.
> 
> I hope this helps.
> 
> . . . . . . . . . . . . . Ken
> 
> At 2008-07-31 08:01 -0700, Sarkup Sarkup wrote:
> >Hi:
> >
> >I have an XSLFO question. I have a sample xml file:
> >
> ><root>
> ><element1>
> ><image>
> ><graphic></graphic>
> ></image>
> ></element1>
> ></root>
> >
> >I have a common file called images.xsl which is used to
> style all the images.
> >
> >My pagelayouts are defined in a base style sheet called
> base.xsl
> >
> >Now, I want to create a seperate page layout with
> different page 
> >width and height jsut for the <image> element and
> call this in the 
> >images.xsl style sheet.
> >
> >I created a seperate <fo:simple-page-master> with
> the desired page 
> >layouts, and a page sequence master in base.xsl.
> >
> >What I want to really do is create a template with
> these page layout 
> >specifications and call this in images.xsl. Can this be
> done in xslfo?
> >
> >Any suggestion/help is appreciated.
> >
> >Thank you
> 
> 
> --
> Upcoming XSLT/XSL-FO hands-on courses:      Wellington, NZ
> 2009-01
> World-wide corporate, govt. & user group XML, XSL and
> UBL training
> RSS feeds:     publicly-available developer resources and
> training
> G. Ken Holman                
> mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
> Crane Softwrights Ltd.         
> http://www.CraneSoftwrights.com/s/
> Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999
> (F:-0995)
> Male Cancer Awareness Nov'07 
> http://www.CraneSoftwrights.com/s/bc
> Legal business disclaimers: 
> http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.