← Prev in month ← Prev in thread

Nested index terms

From
Paul Prescod <>
Date
2005-09-30T15:43:38+00:00
ID
Thread
Nested index terms
I don't think that Paul got an answer to his question. Your code in the
second example below should generate:

Top level
	Nested 1
	Nested 2

That's how Blast Radius implemented it anyhow. 

The second example should probably be treated as an error. It is a flaw
of XML schemas and DTDs (inherited from SGML!) that does not make it
possible for us to specify that explicitly in the DTD/schema.

-----Original Message-----
From: Grosso, Paul [mailto:] 
Sent: Wednesday, September 28, 2005 11:08 AM
To: 
Subject: RE: [dita] Groups - DITA 1.1 Issue #45: Add See, See Also
indexing elements (IssueNumber45.html) uploaded


There is something about indexterm (irrespective of
this current proposal) that has always concerned me:
its mixed content model.  Is something like:

<indexterm>Top level
  <indexterm>Nested</indexterm>
  index term content.
</indexterm>

allowed (the DTD allows it)?  If so, what are the 
processing expectations?

Also, what are the processing expectations of

<indexterm>Top level
  <indexterm>Nested 1</indexterm>
  <indexterm>Nested 2</indexterm>
</indexterm>

(the DTD allows this too)?
← Prev in month ← Prev in thread