Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: Scripting DTD's

From: <AaronEldreth@cs.com>
Date: Fri, 14 Nov 2003 16:12:01 EST
Message-ID: <b0.41179d9d.2ce69f21@cs.com>
To: lhunt07@postoffice.csu.edu.au
Cc: www-html@w3.org
lhunt07@postoffice.csu.edu.au wrote:

> XHTML is not and should not be a programming language.

Why?

> XHTML is called "Extensible HyperText Markup Language", NOT "Extensible 
HyperText 
> Multipurpose Language", and, therfore, it is designed for marking up 
> structure in documents only, and that's how it should stay. Scripting 
> XML documents is the domain of the Document Object Model [DOM] and the 
> scripting language standards, like ECMAScript [ECMA-262].

This is true. Even I will give that credit, exept for one thing. The DOM 
would still be necessary,
otherwise it would be impossible to access elements. Unless my idea were 
taken even
further, and allowed people to create their own DOM, but that would get UGLY. 
ECMAScript
is supposed to be the great universal scripting language for the web, 
unfortunately,
few people use it. How many pages have you looked at that the designer used 
ECMAScript?

To allow people to create or structure their own languages by a Scripting 
DTD, would give
more power and flexibility to designers, weather they need a simple 
If...Then, for their page,
or a vigorous Do Loop Until. This would allow more cross-browser-scripting, 
without the
use of a language few people use. And if it were designed correctly, all 
browsers with
DTD or XMLNS capability could read and decipher it.

If people refuse to change XHTML, create a new language that would support 
the "Extensible HyperText Multipurpose Language".

Aaron Eldreth
Received on Friday, 14 November 2003 16:12:18 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.