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

Q: Approaches to generating a table of contents?

Subject: Q: Approaches to generating a table of contents?
From: Denis_Haskin@xxxxxxxxxx
Date: Fri, 30 Oct 1998 13:41:00 -0500
generating a table of contents
[I'll post this here before cross-posting to XML-L.  This has also been
posted to comp.text.xml.]

I am moving some documentation into XML from HTML.  It makes a lot of
sense, for reasons I won't go into here.

For publishing, my thought had been to use an XSL processor to generate
HTML, and for the most part I haven't encountered any major stumbling
blocks but one:

I would really like to be able to generate a simple (i.e. non-hierarchical)
table of contents from the XML structure, but I'm having a devil of a time
figuring out a straightforward way of doing it.

It looks like one way to have done this was with modes, but that's
currently not in XSL (although under discussion, it seems).

Or would this be done in the formatting objects side of XSL (which I
confess I don't fully understand and in fact isn't supported by XT, which
is what I'm using)?

Am I trying to use XSL before it'sf fully cooked?

In that case, alternatively, it appears this could be done before XSL
processing with an XML processing instruction.  I guess I would need to
write a table-of-contents PI for XP, if that's what I continue to use.  Or
is there an XML processor that already has such a thing?

Much thanks for any tips, pointers, etc.

Denis Haskin



 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.