Hi, I'm trying to use an external reference from an svg document to another one but I'm not sure how to dot it. Let's say I want to get something like: <svg width="8cm" height="3cm"> <defs> <linearGradient id="Gradient01"> <stop offset="20%" stop-color="#39F" /> <stop offset="90%" stop-color="#F3F" /> </linearGradient> </defs> <rect x="1cm" y="1cm" width="6cm" height="1cm" fill="url(#Gradient01)" /> </svg> but with the defs part in another svg file. I'd like to use two files, the defs file: <svg> <defs> <linearGradient id="Gradient01"> <stop offset="20%" stop-color="#39F" /> <stop offset="90%" stop-color="#F3F" /> </linearGradient> </defs> </svg> and the main file: <svg width="8cm" height="3cm"> <rect x="1cm" y="1cm" width="6cm" height="1cm" fill="url(MyDefFile.svg#Gradient01)" /> </svg> Is it allowed and what is the correct URI syntax? Any advice appreciated, Philippe Converset Software Engineer www.Qarbon.comReceived on Wednesday, 3 October 2001 07:29:10 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 September 2006 18:11:15 GMT