Problems exporting SVG files with Microsoft Visio

G

google

Folks,

I often faced errors loading scalable vector graphic files that have
been exported by Microsoft Visio, Microsoft Word and other Microsoft
Office products. These files cannot be loaded into programs like
inkscape. This is how to fix this error. The export filter did not
declare the XLINK namespace that is used within this SVG file
afterwards. Referring to XML regulations, this is an error.

You fix it like that:
step 1: open the exported svg file
step 2: add this line to the SVG tag at the beginning of the svg file:
xmlns:xlink="http://www.w3.org/1999/xlink"

done!

Afterwards, the header of the svg file might look like this

<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/"
width="11.6929in"
height="8.26772in"
viewBox="0 0 841.89 595.276"
xml:space="preserve"
color-interpolation-filters="sRGB"
class="st11"
xmlns:xlink="http://www.w3.org/1999/xlink">


Good Luck,
Matthias Wimmer,



_____________________________________________________

Dipl.-Inf. Matthias Wimmer
Department for Informatics 9
Technische Universitaet Muenchen
Boltzmannstrasse 3
85748 Garching bei Muenchen, GERMANY
_____________________________________________________

Phone: +49 89 289 17756
Fax: +49 89 289 17757
E-Mail: mailto:[email protected]
Web: http://www9.cs.tum.edu/people/wimmerm
=====================================================
LIVE-Demo: http://www9.cs.tum.edu/people/wimmerm/demo
_____________________________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top