* Ronan Oger wrote: >Does anyone have any idea why this does not work: > > Element x = doc.getDocumentElement(); > > Element target = doc.createElementNS( > SVGDOMImplementation.SVG_NAMESPACE_URI, > "image"); > > target.setAttributeNS(null, "x", String.valueOf(X)); > target.setAttributeNS(null, "y", String.valueOf(Y)); > target.setAttributeNS(null, "width", String.valueOf(Width)); > target.setAttributeNS(null, "height", String.valueOf(Height)); > target.setAttributeNS(null, "id", String.valueOf(spriteID)); > target.setAttributeNS(null, "xlink:href", > String.valueOf(spriteFile))
You have to use the XLink namespace here. Btw, the mail arrived here with two Reply-To headers, it seems that the listserv always sets Reply-To to the list (aka Reply-To munging which is widely frowned upon) and you seem to set Reply-To to your From address, which is often frowned upon aswell... -- Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
