This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: Emacs, nsgml and DocBook
- From: Karl Eichwalder <ke at gnu dot franken dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 07 Jul 2004 07:24:34 +0200
- Subject: [docbook-apps] Re: Emacs, nsgml and DocBook
- References: <40EAE1AB.1000101@wanadoo.fr>
Christophe Gaubert <christophe-gaubert@wanadoo.fr> writes:
> I'm a neewbie with XML and DocBook. I'm using Emacs with the
> psgml-mode. When I want to validate a simple file, I have errors like
> this :
> nsgmls -s truc.xml
> nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd:74:17:E:
> "X20AC" is not a function name
Search for the SGML declaration that declares the XML syntax (xml.dcl
or xml.decl) and then try a command as follows:
nsgmls -wxml -s /usr/share/sgml/openjade/xml.dcl truc.xml
If this works set sgml-xml-declaration in .emacs accordingly (assuming
your psgml package is recent enough):
(setq sgml-xml-declaration "/usr/share/sgml/openjade/xml.dcl")
--
| ,__o
| _-\_<,
http://www.gnu.franken.de/ke/ | (*)/'(*)
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.