Of the 5 regions on a page, of which you WILL use the region-body and MAY
use one or more of the others, the intent of the XSL spec is that
region-body occupies a special place. I phrase it this way because if you
have a devious mind and follow the letter of the law there are loopholes, or
have been.

XSL 1.0 provides for ONE flow at a time, as in fo:flow. And the _intent_ is
that this goes into the region-body. So you cannot have multiple fo:flows
per page-sequence.

The intent of the 4 outer regions is that these are headers, footers, and
sidebars. fo:static-content was designed for these regions.

Having said all of the above, stick with using fo:flow for your region-body,
and only assign your static-contents to the various outer regions.

Hope this helps,
Arved Sandstrom

-----Original Message-----
From: Nick Winger [mailto:[EMAIL PROTECTED]]
Sent: February 11, 2002 4:57 AM
To: [EMAIL PROTECTED]
Subject: AW: static content question


i need a <fo:static-content flow-name="xsl-region-body">
AND a normal <fo:flow flow-name="xsl-region-body">

but the compiler says: only one xsl-region-body flow allowed...
so i don't know how to have a normal and a static content
in the xsl-region-body.


nick

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 8. Februar 2002 16:50
An: [EMAIL PROTECTED]
Betreff: Re: static content question



You want
<fo:static-content flow-name="xsl-region-before">
OR
<fo:static-content flow-name="xsl-region-after">

which corresponds to your fo:simple-page-master's <fo:region-before/> OR
<fo:region-after/>




                    fop-dev-return-13049-jthaemlitz=oreillyauto.com@XML.
                    APACHE.ORG
To:     "Apache Mailinglist \(E-Mail\)"

<[EMAIL PROTECTED]>
                    02/08/02 07:11 AM
cc:
                    Please respond to fop-dev
Subject:     static content question






hello again !


another problem i would like to solve:
           out.println( "    <fo:flow flow-name=\"xsl-region-body\">" );
               out.println( "                  <fo:static-content
flow-name=\"xsl-region-body\">" );

i have a " <fo:flow flow-name="xsl-region-body"> " to display the content
which goes
through serveral pages. now i need a static content on every page, which is
always the same,
so i though i might do this with:
" <fo:static-content flow-name="xsl-region-body"> ", but then the compiler
says:
" Exception: flow-names must be unique within an fo:page-sequence "

so how do i make a static content in the xsl-region-body while still having
a flow xsl-region-body ?


thanks and greetings

Nick Winger


(Software-Developer)
==============================
VANGUARD Software GmbH
Julius Tandler Platz 8
1090 Vienna, AUSTRIA

Phone: +43-1-3195263-20
Fax:   +43-1-3195263-90
http://www.vanguard.at
==============================



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



















---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to