Re: editing xhtml fragments
Peter Flynn <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Organization | Silmaril Consultants |
| Message-ID | <[email protected]> |
On 17/08/11 19:19, Stephen Langer wrote:
[...]
> What would be useful would be for each file to contain a special
> comment that says what the enclosing elements are. I think I used to
> use psgml mode to do this. I don't remember exactly what prompted me
> to switch to nxml.
I looked at it and went back to psgml. It's simply doesn't have the
interface (commands) that you need for writing and editing, and as 99%
of my work is with people who use DTDs, it's not much use for that
either. I'm sure it's terribly clever, but without the command-set and
the ability to use DTDs, it's crippled.
On 17/08/11 07:31, Mihamina Rakotomandimby wrote:
> How to:
> - Get nXML accept my malformed XML docs (no DOCTYPE, nothing but
> xHTML fragments)
I don't think you can do that without surgery.
To use a fragment, specify the enclosing element type in a DOCTYPE
Declaration, and use a DTD-aware environment.
> - Get nXML use my C-c C-t to create tag.
Pass. Psgml provide C-c C-e for this ("elements", not "tags"; if you
*really* mean create tag, psgml provides C-c < to create a start-tag and
C-c / to create the matching end-tag).
///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/