I have a C# web application which generates SVG code using RaphaelJS, which I then need to convert to PNG for general interoperability amongst users (please see my previous question here also)
The problem is that, rather than SVG code which seems to be the norm, Internet Explorer churns out RVML code. My solution works successfully in Firefox and other browsers by using Inkscape's command line utility to convert the plain SVG file to PNG. But Inkscape won't convert from RVML.
So the next logical thing to do, apart from rewrite my application to avoid RahaelJs, is to convert the RVML to SVG before running it through Inkscape. To do this I've found this article, and have used the code example near the top of the page. The XSL file I've used to convert the RVML file is the one used by VectorConverter which you can download and look at.
I should mention there are no runtime errors - all the files output in the right place, i.e. the XML -> SVG from the server-side XSLT conversion, and the SVG -> PNG from the Inkscape conversion.
To summarize the situation, when browsing through Firefox - it's fine - when browsing through Internet explorer, the SVG file generated by the XML->SVG conversion outputs a valid SVG file but with no actual content inside the SVG tags. My question is whether anyone else has had any success in doing this task, or if anyone has any suggestions on what I'm doing wrong?
Thanks