Thanks Matts,
I've now defined my paths inside the "def" tags so I can make use of the "use" tags which allow me to display multiple versions of my map. I was thinking of making all the dynamic values, such as the type of fill required for each county, part of a Javascript array. That would make the parsing procedure much easier, as I'd just have to stick this in at the top somewhere.
I was also wondering about whether it would be possible to send the SVG version to the client - which is a large file at this stage, and then for each statistical set (same maps, but with new shadings) I could send them this array. No idea as of yet how this might be done...
For my site I have a list of surnames, and I shade a map to show the distribution of a selected surname.
Here the current png version of this
Thanks,
Barry.