W3C home > Mailing lists > Public > www-xsl-fo@w3.org > August 2003

Re: Suppressing text?

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Thu, 07 Aug 2003 18:08:56 -0400
Message-Id: <>
To: <www-xsl-fo@w3.org>

At 2003-08-07 15:52 -0400, Cindy Hunt wrote:
>Using a FOSI, I used to be able to suppress a line of text. Is there any 
>way to do this with the XSL-FO spec?

Yes and no, it can be done in XSLT but not XSL-FO.  During your 
transformation when you are creating your XSL-FO from your XML, your XSLT 
chooses not to add anything into the XSL-FO instance for your particular 
XML input.

Note that visibility="hidden" in XSL-FO is not what you want, because the 
areas are still reserved on the page.  The CSS documentation excerpted into 
the XSL-FO specification refers to a property named "display" but there is 
no equivalent XSL-FO property for this.

I hope this helps.

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

Upcoming hands-on courses: in-house corporate training available;
North America public:                     XSLT/XPath Aug 12, 2003

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 Thursday, 7 August 2003 18:09:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:58 UTC