[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">
<primary>bar</primary>
</indexterm>
...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