OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] RE: Indexterms - see pointing to secondary


Cavicchio_Rob@emc.com wrote:
> honyk [mailto:j.tosovsky@email.cz] wrote:
> 
>> I am even thinking to support something like this in the DocBook schema -
>> add some linkend attribute to the see element and place there, optionally
>> id
>> of needed index entry. This link would be automatically (in XSLT) resolved
>> to the appropriate text, according to the used level:
>> See primary
>> See primary, secondary
>> See primary, secondary, tertiary
> 
> 
> This seems like quite a reasonable request to me. In fact, I had never before looked closely at the content model of <see>, but it genuinely surprises me that it uses text instead of an ID as the target. That seems very non-structured-authoring-like.

But to what should such ID link? If you would like to link to indexterms
in document you will have to add IDs to indexterms, but such ID should
be given only to one occurrence of particular indexterm. Then you will
have to manage mapping to IDs of anchors generated in index.

Of course this can be done, but I think that matching done on actual
index terms much be simpler from authoring point of view than managing
all those IDs.

But anyway you can use <xref/> inside <see> element and customize
stylesheets to do something sensible with it.

			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]