Re: [xsl] How to render TEI <div*>s with chapter-like pagination?

Subject: Re: [xsl] How to render TEI <div*>s with chapter-like pagination?
From: "James J. Ramsey" <jjramsey_6x9eq42@xxxxxxxxx>
Date: Thu, 10 Apr 2003 17:49:22 -0700 (PDT)
--- Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
> James,
> Much of your problem may be in trying to handle
> arbitrary TEI. The DTD is 
> loose enough, as you are finding, to make for quite
> a challenge in the 
> general case. :->
> Most (or let's just say all) TEI will not use the
> full tag set, and it'll 
> be considerably easier to write stylesheets to
> handle the TEI subset used 
> in a particular project. If there's any way you can
> do that, consider it.

I *could* do that, but I'm trying to engage in some
"vicarious laziness," trying to make "fixes" to the
stylesheets good enough to be sent upstream.
Obviously, I've got a lot to learn before I can do

> You might also find splitting your transform into
> two passes helpful. First 
> pass to normalize (e.g. makes all numbered divs into
> plain divs; XSLT 
> doesn't need the numbering!), and a second pass to
> provide the formatting. 
> The formatting stylesheet can accordingly be much
> tidier.

Now *that* sounds like a wonderful idea.

Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

 XSL-List info and archive:

Current Thread