Bishop, Michael W. CONTR J9C880 wrote:
When I try to link in an Image, I add the x, y, width, height, and xlink:href attribute. When I place the Element on the JSVGCanvas, I get an error telling me that xlink:href is required. I do have it as I can verify by viewing the source of my document:

        element.setAttribute("xlink:href", imageName);

You need to use setAttributeNS() instead.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to