I have a question about where indexterms can show up, and in particular where they can show up in footnotes.
According to the DocBook 5 spec, indexterms can appear in footnotes (See http://www.docbook.org/tdg5/en/html/indexterm.singular.html "indexterm (db.indexterm.singular)"; I'm not worried about the startofrange/endofrange kind of indexterm.) The indexterm spec says that footnote is one of the possible parents of indexterm, and the footnote page confirms that indexterm can be a child of footnote. However, the spec also says (over in the page about footnotes, http://www.docbook.org/tdg5/en/html/footnote.html, under "Additional constraints") that "indexterm must not occur in the descendants of footnote." Which I would understand to mean that the structure <footnote> <para> ...<indexterm.../> </para> </footnote> is forbidden. But that raises the question of where in footnotes indexterms *can* appear; between the footnote and the para inside the footnote? By itself, this would just be a DocBook question, and therefore inappropriate to this mailing list. However, it occurred to me that maybe I could find the answer by creating a DocBook 5 document in XMLmind, and insert some indexterms. Now XMLmind (we're still using 4.1.0) allows me to insert indexterms before or after a para inside a footnote (or for that matter inside the para), but when I tell XXE to "Check Validity", it tells me that these are all illegal. The specific error msg appearing in the "Check Validity" pain on the right is "indexterm must not occur in the descendants of footnote". The error msg appears in a shade of red; maybe this indicates that the error is being raised by a Schematron rule? (I'm attaching the document.) So the result is that XXE is telling me that indexterms are not allowed *anywhere* inside footnotes (or at least not as immediate daughters of the footnote node and sisters to any paragraphs inside the footnotes). Is this correct? How do I put indexterms in footnotes without getting this error msg? Mike Maxwell CASL/ U MD -------------- next part -------------- A non-text attachment was scrubbed... Name: FootnoteIndexterm.xml Type: text/xml Size: 1020 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20090713/692c11d5/attachment.xml

