all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Roehler <andreas.roehler@online.de>
To: Sam Steingold <sds@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: nXML questions
Date: Tue, 03 Nov 2009 11:59:31 +0100	[thread overview]
Message-ID: <4AF00D13.9090107@online.de> (raw)
In-Reply-To: <4AEF5631.8030502@gnu.org>

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	other threads:[~2009-11-03 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-02 21:59 nXML questions Sam Steingold
2009-11-03 10:59 ` Andreas Roehler [this message]
2009-11-03 11:39   ` Lennart Borgman
2009-11-03 13:26     ` Andreas Röhler
2009-11-03 14:47     ` Drew Adams
2009-11-03 21:24   ` Stephen Langer
2009-11-03 21:32     ` Lennart Borgman
2009-11-04 14:59       ` Stephen Langer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AF00D13.9090107@online.de \
    --to=andreas.roehler@online.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.