Dave Beckett

James Clark unveils a new XML mode for GNU Emacs

2003-09-10 20:56

James Clark unveils a new XML mode for GNU Emacs by Michael Smith (XMLHack) on the new nXML mode James has written for GNU Emacs 21.x. This is cool in several ways - a much better XML editing mode (compared to psgmls), using hilighting in emacs to make errors visible, real-time validation as you type against Relax NG schemas, pop-up validation errors and it includes the RDF/XML RelaxNG schema I've been maintaining in the RDF/XML specification. (I must check he updates to the latest version from 5 September 2003).

This means for example, that you can edit RDF/XML files and have it check while you type that you got the striping correct. As soon as you put an rdf:about or rdf:resource in the wrong place, it gets underlined. Illegal use of property attributes and bad rdf attributes are similiarly warned.

This rocks!