Re: a bad idea

Erik Aronesty (earonesty@montgomery.com)
Wed, 10 Jul 1996 07:35:48 -0700


Message-ID: <c=US%a=_%p=Montgomery%l=EXCHANGE_SERVER-960710143548Z-53@sf-exch-2.montgomery.com>
From: Erik Aronesty <earonesty@montgomery.com>
To: "'www-html@w3.org'" <www-html@w3.org>
Subject: RE: a bad idea
Date: Wed, 10 Jul 1996 07:35:48 -0700

so that way <IMG SRC=x SRC=y> woudl mean try x then try y if that fails.

but <IMG PICK-SRC=RANDOM SRC=x SRC=y> would mean try x or y randomly.

and <IMG PICK-SRC=USER SRC=x SRC=y> would mean ask the user in some
unobtrusive and reasonable way if he wants to use x or y

same would hold for <A HREF=x HREF=y>
or anything else


>----------
>From: 	Erik Aronesty
>Sent: 	Wednesday, July 10, 1996 10:04 AM
>To: 	'www-html@w3.org'
>Subject: 	a bad idea
>
>Would it be difficult to make a DTD for something like this.....
><ANYTAG PICK-VARNAME=PICK-METHOD VARNAME=X1 VARNAME=X2 ..........
>VARNAME=XN>
>
>That way any tag can have multiple choices for variables, with an
>optional picking mechanism
>
>The default mechanism for picking a variable would be "try the first,
>if
>for some reason that fails, try the second, etc."
>
>This would be useful for ... fonts that aren't on the client system,
>alternate images, alternate URL's etc.
>This way nobody would have to learn a new syntax....every tag would
>work
>the same.
>PICK-METHOD would be TRY, RANDOM, USER-SELECT, etc.
>
>I guess with SGML, you can't have an arbitrary number of identical
>names
>per tag....but it wouldn't be hard to implement in practice.
>
>