From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: help-gnu-emacs@gnu.org, Sam Steingold <sds@gnu.org>
Subject: Re: nXML questions
Date: Tue, 03 Nov 2009 14:26:59 +0100 [thread overview]
Message-ID: <4AF02FA3.7010504@easy-emacs.de> (raw)
In-Reply-To: <e01d8a50911030339n6a910a03yf624ce9f8ba988af@mail.gmail.com>
Lennart Borgman wrote:
> On Tue, Nov 3, 2009 at 11:59 AM, Andreas Roehler
> <andreas.roehler@online.de> wrote:
>> 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.
>
>
> That sounds a bit strange. Is there a misunderstanding there?
Hi Lennart,
that's fairly possible. Just exploring this matter.
Thanks for your help.
Andreas
>
> You can for example edit XHTML files with nXml. It uses the DTD, but
> it have to have it converted to an .rng file. Please see the home page
> for nXml for more information about how to convert a DTD to a .rng
> file.
>
> A .rng file for DocBook comes with Emacs. However there are several
> DocBook DTDs. There are perhaps also some things that nXml does not
> cover fully, but I do not know this well.
>
>
>
>> 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/
>>
>>
>>
>>
>
>
>
next prev parent reply other threads:[~2009-11-03 13:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4AEF5631.8030502@gnu.org>
2009-11-03 10:59 ` nXML questions Andreas Roehler
2009-11-03 11:39 ` Lennart Borgman
2009-11-03 13:26 ` Andreas Röhler [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF02FA3.7010504@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
--cc=lennart.borgman@gmail.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).