"Robert Longson" wrote: > > use1.setAttributeNS(xref,"xlink:href", "#mySymbol") > > is incorrect. The correct form would be > > use1.setAttributeNS(xref,"href", "#mySymbol") > > Best regards > > Robert.
Hi Robert, Me thinks W3C is attempting to deprecate xlink:href and allow href to also be used. However currently when href is used the browser is required to automatically generate a unique namespace for each instance. As follows: <use x="60" y="60" width="30%" height="30%" xmlns:NS1="http://www.w3.org/1999/xlink" NS1:href="#mySymbol" /> <use x="140" y="140" width="50" height="50" xmlns:NS2="http://www.w3.org/1999/xlink" NS2:href="#mySymbol" /> <use x="220" y="220" width="60%" height="60%" xmlns:NS3="http://www.w3.org/1999/xlink" NS3:href="#mySymbol" /> We can use either, but be aware that href will create the added namespaces. Francis ------------------------------------ ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> 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/

