title: nXML mode for web development
body: <p>Is it possible to make nXML mode more convenient for web development?<br>
  Specifically:</p>
  
  <ol>
  <li>Treat <code>&lt;? ... ?&gt;</code> bits as if they didn't exist </li>
  <li>Don't issue "Unknown element" warnings when the XML schema is
  unknown</li>
  </ol>
  
  <p>I'd rather not use a multi-mode </p>
  
  <h3>Edit:</h3>
  
  <p>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</p>
  
  <h3>Edit2:</h3>
  
  <p>A better fix still, might be to write a script that will:</p>
  
  <ul>
  <li>Check if the schema is vacuous, after entering nxml mode</li>
  <li>If it is, add <code>&lt;temporary-root-tag&gt;</code> in the beginning of the document</li>
  <li>Before saving, remove the tag</li>
  <li>After saving, put the tag back </li>
  </ul>