Re: [svg-developers] Nested defs Event Bubbling

2006-02-24 Thread Jeroen Vanattenhoven
I think you can't read the elements and attributes in the defs section with DOM, when using use elements to display them. The defs section of an svg file is not part of the DOM tree. The only thing you can access is the toolbar use element and its xlink:href=#tbFormat attribute. Jeroen

Re: [svg-developers] Nested defs Event Bubbling

2006-02-24 Thread Sean
I've spent much time trying to solve a similar issue, and have come to the conclusion that the code below is the only way with a minimal amount of svg text, maybe I'm wrong. defs g id=cmdBold/ g id=cmdItal/ g id=cmdUnln/ /defs !-- toolbar -- g id=tbFormat use xlink:href=#cmdBold/