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

RE: need help explaining one data structure over anoth

Subject: RE: need help explaining one data structure over another
From: sara.mitchell@xxxxxxxxx
Date: Mon, 5 Aug 2002 14:17:31 -0400
sara mitchell
Well it depends on how the index is actually being written. 
DocBook has a fairly long history of being very specific 
about a lot of things (think of sect1-5, or all the 
various *info elements). 

If your authors are literally writing up the index inside
<index><indexentry><primary></></></> and so on, the 
different names make it easier to keep straight where
you are as you're writing. I'm sure people who like the 
<item> structure will say that simple indentation works 
fine for this, but it is one thing to think about. The 
writers are your users, so unless there's some other impact 
(like performance), making their job easier ought to 
count for something. So maybe you should ask them and go 
with what they like?

I have implemented the DocBook indexing and found it 
good for some things and awkward for others. What 
you end up with are templates that match primary, secondary, 
etc. rather than a couple of templates, one to match item 
and one to recurse through the hierarchy. At least from 
my perspective, this was a very small issue (read a drop 
in the bucket) in getting the index to be generated and 
properly linked. 

Sara Mitchell
[snipped]
> -----Original Message-----
> From: Matthew L. Avizinis [mailto:mla@xxxxxxxxx]
> Sent: Monday, August 05, 2002 7:47 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  need help explaining one data structure 
> over another
> 
> 
> I guess I am just trying to figure out why DocBook went to 
> such trouble to
> have a whole bunch of index terms -- they must have had some 
> reason for
> using primary, secondary, indexdiv, etc., right?


 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.