[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto xml end-tag
From: |
Kevin Rodgers |
Subject: |
Re: Auto xml end-tag |
Date: |
Thu, 22 Sep 2005 14:35:51 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Stefan Monnier wrote:
> The sgml-mode.el distributed with Emacs has C-c / to close the tag,
tho it's
> only available in the Emacs-CVS code (i.e. in the Emacs-22 release
when it
> comes out).
> Of course, there's also psgml and nxml. Additionally, you may be able to
> just use <MyTag>This is the body</> which IIRC is perfectly valid XML.
It is valid SGML only if "SHORTTAG YES" is specified in the SGML
declaration, but it is not valid XML:
http://www.w3.org/TR/2004/REC-xml-20040204/#sec-logical-struct
--
Kevin Rodgers