W3C home > Mailing lists > Public > www-html@w3.org > November 2003

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 
Received on Friday, 14 November 2003 05:38:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:06 UTC