Re: [xsl] fo:static-content

Subject: Re: [xsl] fo:static-content
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 29 Apr 2007 09:06:30 -0400
At 2007-04-29 13:56 +0200, Mati Hadi wrote:
The <fo:static-content> object has a "flow-name"
property that defines where the content of the
<fo:static-content> object will go.
I would like to know if I can define
<fo:static-content> for the body region, I mean, can I
write:
<fo:static-content flow-name ="xsl-region-body">,
which means that the content of the static-content
will go to the body region.

Yes you can, but it will be the exclusive content of the body region.


Doing so is necessary when, for example, you create the "this page intentionally left blank" filler page at the end of a chapter.

Note that you cannot have two flows into one region. So you make a choice: either the flowed content or static content (or, in fact, no content) into a given region. In XSL-FO 1.0 you can only flow into one region, while in XSL-FO 1.1 you can flow into multiple regions ... but at all times any one region can receive content from only one flow or static content.

Did you receive an error message of some kind when you tried it?

I hope this helps.

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


-- Upcoming hands-on training(Europe 2007): XSL-FO Jun 11; UBL Oct 01 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal

Current Thread