I'm try to use the following SVG and have it reference a radialGradiant in another file. Is this possible?
<svg width="500pt" height="80pt" xmlns="http://www.w3.org/2000/svg"> <g> <circle r="30pt" cx="96pt" cy="40pt" fill="url(file:///C:/PurpleGradient.svg#PurpleToWhite)"/> </g> </svg> The PurpleGradient.svg file contains: <?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg"> <g> <defs> <radialGradient id="PurpleToWhite" gradientUnits="objectBoundingBox" cx=".5" cy=".5" r=".5"> <stop offset="5%" stop-color="white"/> <stop offset="100%" stop-color="rgb(100,0,100)"/> </radialGradient> </defs> </g> </svg> Batik gives the following error: An I/O error occured while processing the URI 'file:/C:/PurpleGradient.svg#PurpleToWhite' specified on the element <circle>. The file C:\PurpleGradient.svg is in the right place. If I use a local reference, everything works fine. Except in XSL-FO (using FOP), where it can't find it. So I'm trying to make it work externally in Batik before trying it in FOP again. Thanks for any help, Scott --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
