This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dbpoolx.mod


/ Asera Khatun <koly3m@hotmail.com> 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 <ndw@nwalsh.com>      | 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

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]