OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Scripting and XML

[ Lists Home | Date Index | Thread Index ]
  • From: simeons@allaire.com (Simeon Simeonov)
  • To: "Xml-Dev (E-mail)" <xml-dev@ic.ac.uk>
  • Date: Sun, 19 Oct 1997 19:16:57 -0400

>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.
>


This is a good direction. However, I see a potential inconvenience for
scripts that directly modify the document. Embedded scripts implicitly
identify the part of the document they operate on with their position.
External scripts will have to explicitly specify the part they operate on.

Regards,

Simeon Simeonov





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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS