[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to render TEI <div*>s with chapter-like pagin
--- 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 that. > 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 http://tax.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|