emacsnxml

nXML mode for web development


Is it possible to make nXML mode more convenient for web development?
Specifically:

  1. Treat <? ... ?> bits as if they didn't exist
  2. Don't issue "Unknown element" warnings when the XML schema is unknown

I'd rather not use a multi-mode

Edit:

Regarding point 2, the vacuous schema is supposed to do that, but it gets confused when there is no root element. A quick fix is to wrap everything in a tag with any name

Edit2:

A better fix still, might be to write a script that will:


Solution

  • Setting (rng-validate-mode 0) is probably a good start.