Visio, svg, xlink and msxml

B

bnk

Hello.

Visio 2003 can generate SVG files that can have references to xlink
namespace, but does not declare the xlink namespace.

Thus, svg are displayed correctly (declaring this namespace is optional
for svg?), but these svg files can not be read using MSXML..

But, adding this namespace declaration to the root <svg> element makes
MSXML happy, and it parses such files succesfully.

Is there any way to load SVG files generated with Vsio into MSXML other
than fixing them "semi-manually" by adding "xlink" namespace
declaration?

May be this declaration can be feed to MSXML prior to reading the file?
Or may be this is a bug, and it has been fixed in some service pack?

Thanks in advance.
 
A

Al Edlund

have you considered possibly using an xslt transform, or using an xslt to go
directly from an xsd (raw visio drawing in xml)?
al
 
B

bnk

Thank you for reply.
go directly from an xsd
You mean vxd, do you?

Yes, this would be a good solution, but this is a long way to go... :)
Our code works with SVG, but not visio XML.

So, for now, exported SVG files are just auto-patched.
 

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

Top