Re: Correct sgml-declaration for (X)HTML

Karl Eichwalder <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
"D. D. Brierton" <[email protected]> writes:

> What are the best files to use for the sgml-declaration for HTML and
> XHTML? At the moment, for HTML 4.01 Strict, Transitional and Frameset
> I'm currently using
>
> /usr/share/sgml/openjade/pubtext/html.dcl

Why not using HTML4.dcl?

> and for XHTML 1.0 Strict, Transitional and Frameset, and XHTML 1.1 I'm
> using
>
> /usr/share/sgml/openjade/pubtext/xml.dcl

The XML declaration is the same for all XML DTD; XML = XML ;)

> both from from openjade 1.3.1. Are these appropriate? (I'm not really
> sure what the declaration file does exactly.)

The SGML declaration define the charset, syntax and various SGML
features (e.g. minimizations or quantities).  Good reading:

    http://www.sgml.u-net.com/book

by Martin Bryan.

> Are there ones from the W3C that are specific to the particular
> flavours of HTML?

Probably cleverly hidden.  The W3C does not like SGML any more; it
hides SGML as much as possible ;-(

-- 
[email protected] (work) / [email protected] (home):              |
http://www.gnu.franken.de/ke/                            |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.