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

RE: Keep-together and friends

Subject: RE: Keep-together and friends
From: STEPHEN_R_FRIEDLAND@xxxxxxxxx
Date: Fri, 5 Jul 2002 08:28:50 -0400
html keep together
The following has worked for me ...

<fo:table-row keep-with-next="always">
	<fo:table-cell ><fo:block>...</fo:block></fo:table-cell>
</fo:table-row>

-Steve

-----Original Message-----
From: Antonio Fiol [mailto:fiol@xxxxxxxxxx]
Sent: Friday, July 05, 2002 6:03 AM
To: undisclosed-recipients
Subject:  Keep-together and friends


Hello,

I have a table with the following structure:
<table-row>
<table-cell><block>text1</block><block>image1</block></table-cell>
<table-cell><block>text2</block><block>image2</block></table-cell>
</table-row>
<table-row>
<table-cell 
number-columns-spanned="2"><block>text3</block><block>image3</block></table-
cell>
</table-row>

I would like to avoid text3 appearing at the end of a page, and image3 
on the following.
I tried:
<table-row keep-together="always">...
and
...<block keep-with-next="always">text3</block>...

None worked.

I think it may be because I did not include ".within-page" anywhere.

However, I also tried:
<table-row keep-together.within-page="always">...
and
<table-row keep-together=".within-page=always">...

I did not expect the second to work, but neither did the first.

Can anyone point me to the solution (I must be close enough, but I can't 
see it).


Also...
I have a table and I would like to either

a) make the first row refrain from appearing "alone" at the end of a page.
or
b) make the first row appear on each page that a portion of the table is 
rendered.

I have not started trying on this.

I suppose that (a) could be accomplished with <table-row 
keep-with-next...(something, that I'll learn from the answer to the 
other question)...>. But I have no idea whether (b) is possible or not, 
and I'd prefer that, if possible.

Is it possible?

Thank you very much.


Antonio Fiol



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

 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.