Re: XML Events

>
> >
> > "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 UTC