W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

RE: [SVGMobile12] listener element

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 12 Jan 2006 17:05:32 +0100
Message-ID: <20060112170532.rfmm8c198agw8k0s@webmail.annevankesteren.nl>
To: Mark Birbeck <mark.birbeck@x-port.net>
Cc: www-svg@w3.org

Quoting Mark Birbeck <mark.birbeck@x-port.net>:
>> You have a point. What can be done using XML Events what
>> can't be done using AddEventListenerNS etc.? Jim's suggestion
>> would certainly satisfy my comment.
>
> You could say that about any element--what can you do with element x that
> you can't do with DOM feature y?

How exactly? Generating headings, paragraphs and links through the DOM is not
something that really can be done without having the appropriate elements.
Settings event listeners for particular elements on the other hand is much
better done through the DOM IMHO. (Separation of script and markup and all
that...)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Thursday, 12 January 2006 16:12:13 GMT

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