nxml does not understand xsd schemas or rng schemas, only rnc (relaxng compact syntax) so you need to convert whatever schema you have to rnc. That done, emacs makes a good xml editor.
Morgan
----- Original Message -----
From: "Le Wang" <l26wang@gmail.com>
To: "Giulio Petrucci" <sisisi@nonono.boh>
Cc: help-gnu-emacs@gnu.org
Sent: Tuesday, February 22, 2011 11:48:15 AM
Subject: Re: emacs as an XML editor
I don't work with nxml very often, but see here:
http://stackoverflow.com/questions/917337/schema-sensitive-editing-in-emacs-based-on-w3c-xml-schema-not-rng
Nxml only understands rng schema.
On Wed, Feb 23, 2011 at 12:28 AM, Giulio Petrucci
<sisisi@nonono.boh> wrote:
Hi Le Wang,
first of all thank you for your quick reply.
On 2/22/2011 5:23 PM, Le Wang wrote:
nxml, convert your xsd to rng.
Uhm... I'm trying it but when I open an .xsd scheme I have a message in the minibuffer saying: "No scheme loader available for file extension 'xsd'".
I know I'm doing something wrong but I can't get *what* (as I'm quite a n00b). :-)
thanks,
Giulio
--
--
Le