Cannot view the exported SVG in a web browser


 Product(s):MicroStation
 Version(s):08.11.09.459
 Environment:N\A
 Area:Interchange
 Subarea:SVG

Problem

Cannot view the exported SVG in a web browser

Solution

                 xmlns="http://www.w3.org/2000/svg"
                 xmlns:xlink="http://www.w3.org/1999/xlink"
 
Before

<?xml version="1.0" encoding="UTF-8" ?><!-- DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" -->
<svg viewBox="0,0,1024,546" preserveAspectRatio="xMidYMid" zoomAndPan="magnify">
 
After

<?xml version="1.0" encoding="UTF-8" ?><!-- DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" -->
<svg viewBox="0,0,1024,546" preserveAspectRatio="xMidYMid" zoomAndPan="magnify" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
 

·         Save the SVG file.

·         Now open SVG file in a web browser i.e. Internet Explorer Or Google Chrome.

 
Note: This has been fixed in MicroStation Connect Edition.


See Also

https://www.w3.org/TR/SVG/intro.html#MIMEType
https://www.w3.org/TR/SVG/Overview.html

Download Adobe SVG Viewer



 Original Author:Leonard Jones