Thank you all for a very useful discussion.
Our technical author uses structured FrameMaker for the heavy lifting but for
quick and casual editing I have been using emacs and sublime text. I've had
the nxml emacs module enabled which is XML-aware but I had never heard of the
relax-NG option, so thank you Dave for that.
It set me to hunting what might exist by way of similar packages for Sublime
Text, and I found one called Exalt. It doesn't force only valid input but it
does have a single keystroke validation function which highlights any
validation errors. I didnbt have to do anything smart by way of setup; if
the DTD or XSD referenced in the document header exists in the local
filesystem it just uses it.
cheers
T
-----Original Message-----
From: Peter Flynn peter@xxxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, 18 August 2022 03:45
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: suggestion for an xml editor, please?
On 17/08/2022 14:06, C. M. Sperberg-McQueen cmsmcq@xxxxxxxxxxxxxxxxx wrote:
[...]
> At the moment I mostly use nxml mode, with key bindings modified to be
> closer to those of psgml mode. (Are the psgml mode bindings better
> designed? Or did I just get used to them first? Possibly.)
I believe so, but as they can be rebound it's not very important.
I prefer psgml's way of presenting the attribute panel, but that's probably a
personal feeling.
The biggest stumbling block is that on current installations, psgml simply
won't execute: "xml-mode" has been grabbed by nxml, and my elisp skillz are
not adequate to resolve this.
Peter
|