Re: Automatic Insertion of Required Elements and Attributes
Peter Flynn <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Organization | Silmaril Consultants |
| Message-ID | <[email protected]> |
On 20/07/12 05:30, Dave Pawson wrote:
[...]
> 3. Then use (not dissimilar to psgml-mode)
> <
>
> and nxml-mode will show the list of elements valid at that point.
> It will not automatically insert required elements.
> If you want that, it's up to you.
This is only one of a dozen or more missing facilities in nxml-mode.
I'm sure nxml-mode must be useful to some people, but that does not
include anyone who actually wants to write or edit a text document.
Whoever set the current distributions to default to nxml-mode for
xml-mode broke a useful functionality, and the sooner it is either
undone, or someone writes proper editing controls for nxml-mode, the better.
In the meantime, the simple solution for authors and editors is to open
a document, use M-x sgml-mode RET and then M-x xml-mode RET. This
overwrites the nxml-mode setting and allows documents to be edited with
proper control.
nxml-node is possibly useful for data documents, but it is not a usable
tool for editing XML text documents.
///Peter
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/emacs-nxml-mode/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/