|
From: David M. <da...@lu...> - 2001-09-27 22:17:27
|
On Thu, Sep 27, 2001 at 01:43:57AM -0500, Dan Mueth wrote: > > On Tue, 18 Sep 2001, David Merrill wrote: > > > Hi, > > > > What is the recommended way to get a list of documents? The contents > > list and extended contents list are not a list of documents -- the > > same document is often listed more than once in separate sections. > > > > I'm trying to generate all my web pages with xslt, so I'm looking for > > a way to extract a list of documents, sorted, and write out html. I'm > > doing okay so far learning xslt, but there doesn't seem to be a way to > > do this without a clever hack, and I would rather find a more > > straightforward way. > > Hmm.. We don't have any files containing each document exactly once which > is exported for use by other applications. I hadn't thought of a need for > it before you suggested this one. > > You could work around it by extracting a unique list from the contents > list. It sounds like this is what you are doing. The alternate would be to > modify ScrollKeeper to keep this data in another XML file and then export > the information. If we think many applications will need the list, then > this is the better approach. If you actually want to use it soon, this > would mean churning out a 0.2.1 release. It would not need too much > changing to roll it into 0.3.0. I found a way. I just have an XSL stylesheet that does a sort on the documents, then drops duplicates. -- Dr. David C. Merrill http://www.lupercalia.net Linux Documentation Project da...@lu... Collection Editor & Coordinator http://www.linuxdoc.org We have increased our prices over the last 10 years [while] other component prices have come down and continue to come down. --Microsoft Senior VP Joachim Kempin |