Problems converting VML to SVG in .NET?

Then run it through Inkscape to get the PNG version.

Then run it through Inkscape to get the PNG version. Edit: The vectorconverter tool is PHP-based but uses XSLT for the heavy lifting - VML and SVG are just XML under the hood - so if you can't access the PHP libraries directly you could probably manage to reuse the XSLT in the language of your choice.

I'm working on a corporate intranet and which won't be able to support PHP. Edit: I've just seen your edit. I'll have a look if I can find anything on that.

– a12jun May 5 '11 at 13:07 1 I'm not a . NET guy, so I'm afraid I can't help there. Seems like it shouldn't be too hard to read into the XML enough to figure out whether you've got an SVG or a VML, then run the XSLT if it's VML before processing in inkscape.

You could actually probably do the VML--> SVG translation on the client side (IE has a built-in XSLT engine) if you have the ability to write your own JS in this deployment environment, though I would recommend back-end processing if at all possible. – peteorpeter May 5 '11 at 13:19 Thanks for your help, I'm just doing some research on XSLT now.Do you think something like this would be along the right lines for doing this? W3schools.

Com/xsl/xsl_client. Asp - (scroll to "Transforming XML to XHTML in the Browser"). I have access to the xslt file used by VectorConverter so it should just be a case of using the correct files?

– a12jun May 5 '11 at 14:04 1 That should work. You'd still need some logic to sniff for VML before routing it there, or just use conditional comments, I suppose. You could also look at johannburkard.

De/software/xsltjs or jongma.Org/webtools/jquery/xslt. As a warning, client-side code like this can easily bottleneck in IE 6-7's aging JS engines (8's not too bad). If you can handle this server-side, you will likely avoid some headaches.

– peteorpeter May 5 '11 at 14:23 Many thanks for your help – a12jun May 5 '11 at 14:34.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions