W3C home > Mailing lists > Public > www-style@w3.org > November 2005

Re: Why Binding Scripting in Style Layer Conflates Semantics

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 23 Nov 2005 10:26:31 -0600
Message-ID: <43849837.5020805@mit.edu>
To: shelby@coolpage.com
CC: www-style@w3.org

Shelby Moore wrote:
> Ian Hickson gave an example of rendering the text within an <a>text</a>
> hyperlink tag as a date, and then in later post he suggested the ability
> to render a <select> as a map of countries:
 > For example,
> transform <a> into <adate> or <a type="date>, and <select> into
> <mapselect> or <select type="map">.

OK.  So say I have a <select type="map"> as a result of XSLT.  I'm still 
trying to render a map of countries (from which the user can _select_ a 
country).  Whither from now?

The idea of XBL-like things is that given semantic markup like <select 
type="select-a-country"> (which clearly says what we're selecting), one 
can attach different presentations (a dropdown list of countries, an 
imagemap for which clicking on a country selects it, a set of radio 
buttons, one radio button per country, etc).

Note that producing these with server-side XSLT would actually obscure 
the semantics (those being simply "select a country").  Producing these 
with client-side XSLT is possible, and very similar in spirit to the XBL 
approach as far as I can tell.

So I don't see what the big argument is about, frankly...

Received on Wednesday, 23 November 2005 17:22:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:21 UTC