I meant its an image of a svg file on server. I added your line of code to my constructor and it doesn't seem to work. It is coded as follows:
impl = SVGDOMImplementation.getDOMImplementation(); svgNS = SVGDOMImplementation.SVG_NAMESPACE_URI; xlinkNS = XMLConstants.XLINK_NAMESPACE_URI; doc = impl.createDocument(svgNS, "svg", null); SVGOMDocument omDocument = (SVGOMDocument) doc; try { omDocument.setURLObject(new File("c:/icontemp.svg").toURL()); } catch (MalformedURLException ex) { ex.printStackTrace(); } svgRoot = doc.getDocumentElement(); groupElement = doc.createElementNS(svgNS, "g"); svgRoot.appendChild(groupElement); I also notice that if I type real slow the image doesn't get broken up (my method gets called after a key is pressed). Any thoughts on whats happening? vyang Bishop, Michael W. CONTR J9C880 wrote: > > The one you create in memory. It doesn't look like you're linking an > SVGDocument from a server, it looks like you're linking an image. > > Michael Bishop > > > -- > View this message in context: > http://www.nabble.com/xlink%3Ahref-problem---tf3274450.html#a9119783 > Sent from the Batik - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- View this message in context: http://www.nabble.com/xlink%3Ahref-problem---tf3274450.html#a9126677 Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]