help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nXML questions


From: Andreas Roehler
Subject: Re: nXML questions
Date: Tue, 03 Nov 2009 11:59:31 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20081227)

Sam Steingold wrote:
> Now that nXML is the default xml mode instead of the old sgml-mode, I am
> wondering it its manual could be brought up to date, e.g., answering the
> question which bothers me right now:
> 
> how do I tell nxml that I have a compound docbook document consisting of
> a few files included into the master file using system entities, when
> editing a component file? nxml does not recognize any of the entities,
> defined in the master file.
> 
> also, nxml seems to think that the <code> element and the language=
> attribute of the <programlisting> element are invalid. why?
> 
> also, it does not recognize <xi:include> elements. why?
> 
> thanks!
> 
> Sam.
> 
> 
> 
> 


Hi,

AFAIU nxml is designed exclusively to edit XML Schema files.
XML Schema don't use a DTD as docbook does.

You should be able to restore DTD-modes with

M-x sgml-mode

Also this should be customizable.

If not, it's a bug IMHO.


Andreas

--
https://code.launchpad.net/s-x-emacs-werkstatt/
http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]