[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to Align Text in the Page Header?

Subject: How to Align Text in the Page Header?
From: Mete Kural <metekural@xxxxxxxxx>
Date: Fri, 10 Jan 2003 10:56:26 -0800 (PST)
xsl page header
Hello,

I'm trying to align the text in the page header. There
are two pieces of text that need to go to the header:
chapter name and page number. I do this using markers.
I want to put both of these pieces of text on the same
line in the page header. I want to align the chapter
name to the left and the page number to the right. How
can I do this?

I tried the below, but it put the chapter name and
page number on different lines, not on the same line
of text. Here is my static-content element inside the
page-sequence:

<fo:static-content flow-name="xsl-region-before">
  <fo:block text-align="start">
    <fo:retrieve-marker
retrieve-class-name="chapter"/>
  </fo:block>
  <fo:block text-align="end">
    <fo:page-number/>
  </fo:block>
</fo:static-content>

Thank you,
Mete Kural


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.