Re: tabel borders

At 2003-10-08 22:04 +0530, Aananth.S wrote:
>I need to produce a table cell with only the lower border.the other three 
>borders should not be present i used the following atrributes
>
>boder-after-width="medium"
>boder-before-width="0"
>boder-start-width="0"
>boder-end-width="0"
>
>but still the lower border wouldnt come .. itried numbers instead of 
>medium/thin/thick as well.still the same results.Am i missing some thing??

Yes, you do not realize that the default style for the border is "none".

You might want to use border-after-style="solid" or 
border-after-style="dotted" or some other style for your border.  You will 
not need to specify the widths, and BTW your width specifications need to 
be lengths and not simple numbers.

>     In only the first page, i have to diplay as certain text in the 
> region before.This should not get repeated in the subsequent 
> pages.Currently, I am page sequence based on only a simple page master.Is 
> there a way to identify and print the page only in the first page.Any 
> sample code / examples would be of great help.

This is a FAQ.  You will need two simple page masters, one with the desired 
text and one without, and then create a page sequence using the one with 
the text first and repeating the one without the text after.

>  I have a specific requirement to print a page only in landscape.How do i 
> set this property and where do i set it?

This depends on how you trigger the page.  You will need a separate simple 
page master with the landscape-oriented dimensions.  If you know in advance 
which page you need in landscape, then create a page sequence with the new 
simple page master in the desired order.

If you do not know in advance which page you need in landscape, that is it 
might be dependent on the XML source, then you need a two-step process.  I 
have published a publicly-available stylesheet for precisely this 
requirement, and it is called the "Page Sequence Master Interleave (PSMI)" 
resource, and it is downloaded from the "Free resources" section of our web 
site indicated below.

I hope this helps.

............. Ken


--
Next public US delivery:        3-day XSLT/2-day XSL-FO 2003-10-13
Next public European delivery:  3-day XSLT/2-day XSL-FO 2003-11-??
Instructor-led on-site corporate, government & user group training
for XSLT and XSL-FO world-wide:  please contact us for the details

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 0-13-140374-5                               Definitive XSL-FO
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X               Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:     http://XMLGuild.info
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc

Received on Wednesday, 8 October 2003 12:49:43 UTC