[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Scripting and XML

  • From: Paul Prescod <papresco@t...>
  • To: "Xml-Dev (E-mail)" <xml-dev@i...>
  • Date: Sun, 19 Oct 1997 18:20:31 -0400

Re: Scripting and XML
Simon St.Laurent wrote:
> 
> At present, most SCRIPT tags in use on the Internet already have to hide their
> code inside comments to avoid spilling their contents across the screens of
> older browsers.  This just seems to add an extra layer of detritus to scripts.
>  While it's workable, it doesn't seem like an elegant way to interoperate with
> another key set of web standards. As scripting and markup grow more and more
> intertwined (i.e., the document object model becomes a reality), I suspect
> this is going to be at least an eyesore if not a roadblock. 

Actually, I think that the situation is the opposite. The document
object model finally allows you to refer to document elements from
*outside* your document so that you have *less need* to directly mix
scripts and code. Using DOM I can create a client-side program that
takes an XML instance as input and returns XML as output. I can't do
that with JavaScript as it exists today. The JavaScript "model" is
textual replacement (which must, by definition, be "inline"). The DOM
model is structural processing (which can be done "remotely").

I expect that a few years from now this convention of putting markup and
scripting cheek to cheek will have died out. It is just another face of
the logical markup vs. presentational markup war The trend is from
inline to external, just as with presentation.

 Paul Prescod

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.