W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

Re: [svg-developers] Re: some discussion of SVG 1.2

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Mon, 18 Nov 2002 17:33:46 +0100
Message-ID: <3DD9166A.9000601@pinkjuice.com>
CC: www-svg@w3.org

Kurt Cagle wrote:


> I'd think strongly about implementing XPath 2.0 as a reference mechanism 
> within SVG. For instance, the animation block:
> 
> <set attributeName="fill" attributeType="CSS"  to="red" fill="restore"
> begin="(//rect[@ex:type='stepBox']).mouseover" 
> end="(//rect[@ex:type='stepBox']).mouseout"/>
> 
> would cause the encasing element's fill to go red any time ANY rectangle with 
> an external namespace attribute of ex:type holding the value 'stepBox' is 
> rolled on, and will release the fill whenever such a box is left.


This would be very useful, save lots of code, and ease maintenace.

Tobi


-- 
http://www.pinkjuice.com/
Received on Monday, 18 November 2002 11:33:40 GMT

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