Re: Q: How do I use entities like – in DocBook V5.0?

From
Stephane Bortzmeyer <>
Date
2005-11-08T10:29:12+00:00
ID
Thread
Re: Q: How do I use entities like &ndash; in DocBook V5.0?
On Tue, Nov 08, 2005 at 10:59:45AM +0100,
 Jirka Kosek <> wrote 
 a message of 120 lines which said:

> This simply works, so I don't understand what more you want. Do you
> want entites? If yes, then use !DOCTYPE and include needed entity
> definitions.

If it helps, I've attached a Docbook file which does exactly that: it
includes an entity file with my favorite entities.

I can edit the Docbook file (and validates it) with nXML and I can
validate it against the RelaxNG schema with xsltproc (and of course
against the DTD with nsgmls).

% xmllint --noout --relaxng RelaxNG/Docbook/docbook.rng test.db
test.db validates

If I use xmllint without the --noout, I can see that the entity was
indeed processed and expanded.