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

Re: SVG 1.2 Comment: sXBL and element ids

From: Ralf Siegel <ralf@audiofarm.de>
Date: Thu, 04 Nov 2004 22:24:23 +0100
Message-Id: <>
To: www-svg@w3.org


Ok, great.

Along the same line (the questions mostly arise from a current real life 
project, where I have implemented such a template system in SVG / 
EcmaScript targeted at ASV 3.0 )

Is the following (expressed in pseudo code) somehow natively supported at 
instanciation time, and if yes - how can it be accomplished (syntax-wise) 
in SVG 1.2?


    <xbl:definition element="audiofarm:knob">
       <circle id="innerRing" r="r_knob*10"/>
       <circle id="outerRing" r="r_knob*20"/>
       <text id="channelLabel"/>

<audiofarm:knob id="knob1" r="100"/>
<audiofarm:knob id="knob2" r="50"/>
<audiofarm:knob id="knob3" r="25"/>


where "r_knob" refers to the audiofarm:knob instance property "r" (25,50,100)

ralf ...

Ralf Siegel - Freelance Developer
Recommended Listening: Blonde Redhead - Misery Is A Butterfly
Received on Thursday, 4 November 2004 21:25:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:01 UTC