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

Re: Access Margin Settings

Subject: Re: Access Margin Settings
From: "Rhodri Davies" <rod@xxxxxxxxxxx>
Date: Thu, 6 May 2004 16:56:38 +0100
access margin
Hi Elliot

I was refering to the FO context which you mention below.

Thanks for your response.

Rhodri Davies


----- Original Message ----- 
From: "Eliot Kimber" <ekimber@xxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, May 06, 2004 4:28 PM
Subject: Re:  Access Margin Settings


> Rhodri Davies wrote:
>
> >  Hi
> >
> >  Can anyone please tell me how you can access in the flow of a xsl
template
> >  the margin settings of the page being currently rendered
>
> It's not clear what you mean by "access"--do you mean in the XSLT
> processing context or as expressions used in FO property values?
>
> If you mean in the XSLT context, use global variables to hold all the
> page geometry values and then use those in your layout masters and
> wherever else you need them. The Docbook FO-generation XSLTs have a
> pretty good example of this type of parameterization.
>
> If you mean in the FO context through expressions, I'm not sure you can,
> although it's nothing I've ever tried to do. See section 5.10.4 Property
> Value Functions in the FO spec. For example, inherited-property-value()
> might get you the margins on the page, but it might not. The
> complicating factor is that layout masters are not part of the direct
> ancestry of fo:page-sequence, but are used by reference from page
> sequences, so I'm not sure what the expected behavior would be in that
case.
>
> Cheers,
>
> Eliot
> -- 
> W. Eliot Kimber
> Professional Services
> Innodata Isogen
> 9030 Research Blvd, #410
> Austin, TX 78758
> (512) 372-8122
>
> eliot@xxxxxxxxxxxxxxxxxxx
> www.innodata-isogen.com

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-2013 All Rights Reserved.