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

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 UTC