Next in thread → Next in month →

Re: DOCBOOK: dbpoolx.mod

From
Norman Walsh <>
Date
2001-04-04T21:12:57+00:00
ID
Thread
Re: DOCBOOK: dbpoolx.mod
/ Asera Khatun <> was heard to say:
| I was looking in the dbpoolx.mod file.
| Could you please explain me why the entity - local.ndxterm.class  is empty?

All of the "local.*" classes are defined as empty. This makes it very
easy for you to add new elements of your own devising. Imagine
that you had a "<specialindex>" element that you wanted to add to
DocBook for your use, you could do so as follows:

<!ENTITY % local.ndxterm.class "|specialindex">

<!-- use the public/system identifiers for the version of DocBook you want -->
<!ENTITY % docbook PUBLIC "-//OASIS//DTD DocBook ..." "...">
%docbook;

<!ELEMENT specialindex (#PCDATA)*> <!-- whatever you want -->

If you use this set of declarations, you can write <specialindex> anywhere
that DocBook allows <indexterm>.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | It is a folly to expect men to do
http://www.oasis-open.org/docbook/ | all that they may reasonably be
Chair, DocBook Technical Committee | expected to do.--Archbishop Whately
Next in thread → Next in month →