adrianbjones wrote: "So I guess it does mean that I am stuck with ensuring unique IDs, but as you can imagine this is a huge task across 1500 symbols, and of course users may also want to add their own SVG graphics together with our symbols into the one diagram/illustration, which may once again result in matching IDs where they are indeed distinct gradients. "
It would not be difficult to write a script to find all the relevant content (presumably gradients) in the SVG document and then simply to stamp each with a unique id. You'd need a programmer with SVG experience and I'm not sure how common that species is. If the final destination is the web, then the browser could run the script. If the final destination is Inkscape, I don't think it has a scripting engine underneath so you'd have to pre-process somewhere else like PHP or Batik or something. "I would suggest that perhaps this is a deficiency in SVG that will catch many people by surprise and in the case of complicated illustrations, make it very difficult to combine graphics into the one file. Does anyone think this 'problem' is worth reporting to the SVG Working Group?" The separation of SVG's fill definitions, like gradients, from its objects, does lead you into the place you find yourself. I think the way SVG does things with id's is consistent with its ordinary purposes and defining context (XML). At the same time, the purpose you've envisioned certainly makes sense to me. If I were doing something like what I gather you are doing, it would be for display on the web and so I would build the interface to the library of images out of HTML and JavaScript, with the JavaScript stamping all and any SVG objects, as needed, with unique id's upon use. Apologies if I've misunderstood your issue and I hope the above does not sound too much like gobbledygook. David Dailey [Non-text portions of this message have been removed] ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

