Re: Suppressing text?

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