Lists Home |
Date Index |
- From: Paul Prescod <firstname.lastname@example.org>
- To: email@example.com
- Date: Fri, 03 Oct 1997 07:44:24 -0400
Liam Quin wrote:
> Charles said that different sorts of information should have different
> syntaxes, but in the document a chapter title has the same syntax as an
> author's name, a date, an image... and these things may all have different
First, SGML has features that allow a document to define a different
syntax. Second, it allows a subsection of a document to use a different
syntax. So the SGML standard recognizes that variant syntaxes are
important and useful and tries to help. Unfortunately, these features
are not powerful enough to represent the full DTD syntax. That does not
mean that the principle of choosing the best syntax for the information
should be abandoned. Nobody seems to advocate that XSL should require
the same with expression language code.
> If neither syntax is ideal, having only one of them is a definite advantage.
We live in an imperfect world. I have never used a language with an
ideal syntax. Perhaps binary....
The relevant question is *which syntax is better*? I think that from a
reader's and writer's point of view, the current DTD syntax is better.
It is more readable and compact. From a *programmers* point of view, the
new syntax is better because it allows you to reduce the number of
parsers in your system.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)