Re: sgml-omittag, sgml-shorttag, ...
Steinar Bang <[email protected]> Tue, 03 Apr 2007 07:33:54 +0200
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Probably a good idea |
| Message-ID | <[email protected]> |
>>>>> Jochen Hayek <[email protected]>: > What I meant in my own words is the ability to leave out the end tag > and end the start tag with "/>". > And I think, that is possible with SGML and XML under certain > circumstances. It's possible for XML for all tags that are allowed empty content (<sometag/> is equivalent to <sometag></sometag>). It's not possible in SGML. Ie. the "/>" construct is not allowed in SGML. What _is_ possible in SGML, is to have an element that is just the starttag. Eg. <br> in HTML. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV