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

How to render TEI <div*>s with chapter-like pagination

Subject: How to render TEI <div*>s with chapter-like pagination?
From: "James J. Ramsey" <jjramsey_6x9eq42@xxxxxxxxx>
Date: Wed, 9 Apr 2003 15:38:01 -0700 (PDT)
pagination in div
I have been trying to customize Sebastian Rahtz's
stylesheets for converting TEI to XSL-FO, and I have
been trying to figure out how to get top-level <div*s>
(that is, top-level subdivisions marked by <div0>,
<div1>, or the <div> tag) to render like
standard-issue chapters, with the page header
suppressed and the page number at the bottom (often
centered). The trouble is that it is more complicated
than just turning "<div> . . . </div>" to
"<fo:page-sequence>  . . . </fo:page-sequence>". The
following is a snippet of valid TEI:

<body>
<!-- Nearly arbitrary content, paragraphs and such -->
<div1>
<!-- Some content -->
</div1>
<!-- Not so arbitrary content, but some tags, like
<milestone/>, can go here. -->
<div1>
<!-- More content. -->
</div1>
</body>

If it weren't for the fact that <body>'s children
could be more than just <div*>s, I'd have an easier
time of this.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

 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.