This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xsl-fo: Setting Content of First Page [Going Nuts]


Hi all,

    I'm trying desperatly to hack my way through XSL-FO and I'm having a
heck of a time doing it.  The Spec doesn't seem to be helping me a whole
lot, so I figured I would try and post my question here.  I've got
simple-page-master's done for "first" and "rest" - the intent of my first
page is to make it a cover page.  I've also setup a page-sequence-master
that looks like:

<!-- How should the sequence of pages appear? -->
<fo:page-sequence-master master-name="PageLayout">
  <fo:repeatable-page-master-alternatives>
    <!-- The first page should be first -->
    <fo:conditional-page-master-reference master-name="first"
page-position="first"/>
    <!-- The rest should be another type-->
    <fo:conditional-page-master-reference master-name="rest"
page-position="rest"/>
  </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>

So far, so good.  The layout of the first page is different from the layout
of the rest of the pages.  Now, I want to set the content of the first page
different from the content of the rest of the pages.  Is there an easy way
to do this (any way to do this) that I'm missing?  I continue on and do a
page-sequence that looks like

<fo:page-sequence master-name="PageLayout">
  <!-- header code as appropriate -->
  <!-- footer code as appropriate -->
</fo:page-sequence>

But I'm not sure how to just grab the title of the document and use it for
the first page.  Anyone have suggestions or examples in this area?

Thanks in advance,

Chris


--
Christopher A. Brooks, NetRPG

Email: webmaster@netrpg.com
Web: http://www.netrpg.com/webmaster/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]