Hi Thomas, > > Ok, This is odd, something is changing this URL for the message. > I have tried to reproduce this problem and I only get this error message > if there is no file 'de.svg' (or it is unreadable) at the root of the 'C:' > > drive. > > So, do you have a file 'de.svg' at the root of your 'C:' drive? > > > use2.setAttributeNS(null, "style", > "fill:url(file:///C:/de.svg#MyGradient)"); >
I am having de.svg in C: drive. herewith i have attached de.svg content. Please let me know where i am doing the mistake. <?xml version="1.0" standalone="yes"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC- SVG-20010904/DTD/svg10.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="450" height="500" viewBox="0 0 450 500"> <defs> <linearGradient id="MyGradient"> <stop offset="5%" stop-color="#F60" /> <stop offset="95%" stop-color="#FF6" /> </linearGradient> </defs> <rect id="chessboard" x="25" y="25" width="400" height="400" fill="url (#MyGradient)"/> </svg> Thanks, Selva --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
