SVG 1.2 Comment: sXBL and element ids

>From the specification it's not clear to me (i.e. I can't find it), how
one would elegantly access an element by its id within a sXBL template
instance.

Example:
-----------------------------------------------

<xbl:xbl>
   <xbl:definition element="audiofarm:knob">
      <circle id="innerRing" />
      <circle id="outerRing" />
      <text id="channelLabel" />
   </xbl:definition>
</xbl:xbl>

<audiofarm:knob id="knob1" />
<audiofarm:knob id="knob2" />
<audiofarm:knob id="knob3" />

-----------------------------------------------

How would one access the "innerRing" element of "knob2"?

I think of something like getElementById("knob2.innerRing") - is there
such a mechanism in SVG 1.2?

ralf ...

Received on Thursday, 4 November 2004 16:02:46 UTC