Hi,

> <image id="img" xlink:href='image1.jpg' .........>          //image1.
> jpg 

> img=svgdoc.getElementById("img") 
> img.setAttributeNS(null,'xlink:href','image2.jpg'); 
You need to set the namespace, it can't be null.
eg:
img.setAttributeNS('http://www.w3.org/1999/xlink','xlink:href','image2.jpg'); 
Regards
Tonny Kohar 
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
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/
 

Reply via email to