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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: DOCBOOK: indexterm: primary is optional?

Brian Lalonde <brianiacus@yahoo.com> writes:

> I notice that the indexterm element is defined as:
> indexterm ::=
> (primary?,
>  ((secondary,
>    ((tertiary,
>      (see|seealso+)?)|
>     see|seealso+)?)|
>   see|seealso+)?)
> Why is primary optional?

I think that's necessary to allow for end-of-range Indexterms, which
need to be empty. For example:

    <indexterm class="startofrange" id="foo">

    ...range of content you want to index here...

    <indexterm class="endofrange" startref="foo"/>

Michael Smith, Tokyo, Japan    http://sideshowbarker.net

The Riddle we can guess
We speedily despise -
Not anything is stale so long
As Yesterday's surprise -

  --Emily Dickinson (1222)     http://www.logopoeia.com/ed/

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

Powered by eList eXpress LLC