Lists Home |
Date Index |
- From: Paul Prescod <email@example.com>
- To: "Xml-Dev (E-mail)" <firstname.lastname@example.org>
- Date: Sun, 19 Oct 1997 18:20:31 -0400
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
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.
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)