Hi Thomas, > >>> use2.setAttributeNS(null, "style", "fill: > url(file:///C:/de.svg#MyGradient)"); > > > > Even though i tried with correct syntax, it is giving following > exception. > > > > org.apache.batik.bridge.BridgeException: null:0 > > An I/O error occured while processing the URI: > > "file:/C:/de.svg#MyGradient"
> This is wrong, you must have three (3), [yes three] slashes > after the 'file:'. Cameron's URL is correct. i am using 3 slashes in my code, but while throwing exception, it is displaying with single slash. I am using the following syntax like Cameron mentioned. use2.setAttributeNS(null, "style", "fill:url(file:///C:/de.svg#MyGradient)"); Thanks, Selva --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
