Crossbrowser Inline SVG

I’ve been wanting to use inline SVG for a while, but since it isn’t supported by IE, I’ve been reluctant to make 80% of the worlds browsers unable to read it.

Here is one solution that I found after playing with XSLTs. It uses Mark Finkle’s SVG in IE behaviours, but on his site, he has to serve the example files in two different ways to get them to work in firefox and ie, because of mime-type issues.

My way around that is by using a simple (pretty much the simplest possible) client side XSLT.