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

Re: keep-together weighting

Subject: Re: keep-together weighting
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 13 May 2003 19:53:17 +0200
html keep together
Anders Svensson wrote:
does anyone here know how to weight keep-together restraints against one
another? I.e. if I have a keep-together.within-page on a table-row, a table
and a "section" I want to be able to give them different priority so that the
table-row is absolute (value="always"), must not be broken, the table is
second and the section third, but should still be kept together whenever
possible. I read that you could do this by giving integer values, but what
values? I.e. what is the allowed span? Is i 0-10 or 0-100 or what? Does the
maximum integer value equal "always"?

The spec is your friend: http://www.w3.org/TR/xsl/slice7.html#keep-together Higher numbers are stronger conditions than lower numbers, and "always" is stronger than any number, according to http://www.w3.org/TR/xsl/slice4.html#keepbreak There doesn't seem to be a specific range if integers, inparticular both positive and negative integers may be allowed. A specific implementation however certainly will impose a lowest and a highest number.

J.Pietschmann


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.