[svg-developers] external entities

2012-11-18 Thread Kenneth Nellis
I've tried without success to get external entities to work. For example, let's say I want to define blue in a shared file as #00247D and then, in multiple, separate SVG files, reference the shared definition (as blue;). I get that the SVG document that references the color would pull in the

Re: [svg-developers] external entities

2012-11-18 Thread Marty Sullivan
I can't tell you if this is possible as I've never tried to define external entities. However, to make the local entities in you svg, you would put them in the DOCTYPE like so: !DOCTYPE svg [ !ENTITY blue FF !ENTITY green #00FF00 !ENTITY red #FF ] and then refer to them as red;