This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > February 2005 > Opening SVG document





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Opening SVG document
john smith

2005-02-27, 11:19 pm

I am confused about a problem with opening an SVG document.

I created a simple square in an SVG editor, and I am able to open the
document in my internet explorer and I see the square.
So, this tells me that my internet explorer has the appropriate SVG viewer.

Now, I take the code the SVG editor wrote, and copy the svg to a text file,
and save the text file as an *.svg document.

Now when I open the new SVG document in internet Explorer, it will not open,
but opens XML spy to display the *.svg codes or XML.

I am really confused because both files have the *.svg extension, so I don't
understand why one file opens ok in explorer and
the other when I open in Explorer opens the document in XMLSpy.

Any help is greatly appreciated.


Martin Honnen

2005-02-28, 6:34 pm



john smith wrote:

> I am confused about a problem with opening an SVG document.
>
> I created a simple square in an SVG editor, and I am able to open the
> document in my internet explorer and I see the square.
> So, this tells me that my internet explorer has the appropriate SVG viewer.


That file the editor creates, what suffix does it have?

> Now, I take the code the SVG editor wrote, and copy the svg to a text file,
> and save the text file as an *.svg document.
>
> Now when I open the new SVG document in internet Explorer, it will not open,
> but opens XML spy to display the *.svg codes or XML.
>
> I am really confused because both files have the *.svg extension, so I don't
> understand why one file opens ok in explorer and
> the other when I open in Explorer opens the document in XMLSpy.


You could install a local web server and configure it to server .svg
files as image/svg+xml, then IE should know how to handle that file type
if a plugin like the Adobe SVG viewer is installed.


--

Martin Honnen
http://JavaScript.FAQTs.com/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews