W3C home > Mailing lists > Public > www-svg@w3.org > February 2003

Re: XML Events

From: Sigurd Lerstad <sigler@bredband.no>
Date: Fri, 7 Feb 2003 17:14:03 +0100
Message-ID: <031701c2cec3$ee692d10$591273d5@mmstudio>
To: "Sigurd Lerstad" <sigler@bredband.no>, "Jim Ley" <jim@jibbering.com>, <www-svg@w3.org>

>
> >
> > "Sigurd Lerstad" <sigler@bredband.no>=>
> > >A Declarative syntax to the 'addEventListener' DOM method is preferred
> for
> > >the same reason that declarative animation is preferred over doing all
> your
> > >animation with scripting.
> >
> > I don't agree with that statement, declaritive animation is sensible,
> since
> > everything can be defined in the XML, with xml-events, all you're doing
is
> > xml-ifying a tiny fraction of the script event handling, which to my
mind,
> > gives us nothing, and increases the content/script confusion.  In the
non
> > xml-events method I can go
> >
> > <script xlink:href="script.js"/>
> >
> > as the sole way of attaching events, and the associated script, with
> > xml-events I don't have that option, and content is less seperated.

How about extending the XML Events module so you can have the ability to
have an external xml file

<listeners>
<listener observer="someid" handler="somehandler"
...
</listeners>

Then you completely separate it.

(I think hlink does something like that)

--
Sigurd Lerstad
Received on Thursday, 6 February 2003 10:11:13 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT