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: Lachlan Hunt <lhunt07@postoffice.csu.edu.au>
Date: Fri, 14 Nov 2003 21:38:50 +1100
Message-ID: <3FB4B0BA.7020505@postoffice.csu.edu.au>
To: AaronEldreth@cs.com
Cc: www-html@w3.org

AaronEldreth@cs.com wrote:

> A friend and I were talking about the advantages of XHTML 2.0, and 
> were also thinking about the DTDs and how beneficial they are. Why not 
> create a set of general scripting DTD's (like one for javascript, 
> vbscript, and ecmascript). If someone doesn't like one of those 
> languages, they can get a copy of the DTD and edit it to suit their 
> needs? Or better yet, have a program that would make a script DTD for 
> them? Since XHTML 2 is still in devolopment, the SDTD (Scripting DTD) 
> could be added, and included for the final relese of XHTML 2.
>
> Aaron Eldreth
> TheCollective4.com <http://www.thecollective4.com/ > - Webmaster

What the...?
  Not at all sure what you mean.  How could a DTD define a scripting 
language? or, How could a DTD define how a scripting language interacts 
with an XML document?  DTDs can only define the structure of SGML or XML 
documents, and have nothing to do with scripting.

  The Document Object Model (DOM) already defines how an XML document 
can be scripted, or programmed, in a language independant way.  ie. Any 
scripting language like.JavaScript (or ECMAScript), VBScript, etc... and 
programming languages such as JAVA, can use the DOM for working with XML 
documents.
CYA
...Lachy
Received on Friday, 14 November 2003 05:38:52 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.