Note that there are some explanatory texts on larger screens.

plurals
  1. POConverting RVML to SVG using XSLT in C#
    primarykey
    data
    text
    <p>I have a C# web application which generates SVG code using <a href="http://www.raphaeljs.com" rel="nofollow noreferrer">RaphaelJS</a>, which I then need to convert to PNG for general interoperability amongst users (please see <a href="https://stackoverflow.com/questions/5898029/problems-converting-vml-to-svg-in-net">my previous question here</a> also)</p> <p>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 <a href="http://inkscape.modevia.com/inkscape-man.html" rel="nofollow noreferrer">Inkscape's command line utility</a> to convert the plain SVG file to PNG. But Inkscape won't convert from RVML.</p> <p>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 <a href="http://www.xmlfiles.com/articles/cynthia/xslt/default.asp" rel="nofollow noreferrer">this article</a>, 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 <a href="http://sourceforge.net/projects/vectorconverter/" rel="nofollow noreferrer">VectorConverter</a> which you can download and look at. </p> <p>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. </p> <p>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. <strong>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?</strong></p> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload