Thank you Heiko- I made up that bit of code, because my SVG document is much more complex. :)
After looking at your code, and attaching an onclick handler to the svg element in question, I discovered that I was changing the attributes of a hidden element, not the actual SVG element that I thought I was. Doh! Heiko Niemann wrote: >Hi, > ><svg id="SVGDoc" > xmlns="http://www.w3.org/2000/svg" > xmlns:xlink="http://www.w3.org/1999/xlink"> > <circle cx="20" cy="30" r="10" fill="blue" >onclick="document.getElementById('inner').setAttributeNS >(null,'x','400');"/> > <svg id="inner" x="100" y="150" width="100" height="100"> > <line x1="3" y1="3" x2="5" y2="5" /> > <circle cx="20" cy="30" r="10" fill="red" >onclick="document.getElementById('inner').setAttributeNS >(null,'x','100');"/> > </svg> ></svg> > > >I changed width and height of your nested svg, so I could see >something :) The line is pretty short, too. But otherwise >setAttributeNS() just works fine - > >Regards, > >Heiko > >http://www.zuccaralloo.de/devgroup > > > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/