You should all know by now that Microsoft Visio 2010 can save as Silverlight files … which is absolutely great … if you have Visio 2010. What if you do not have Visio 2010 but you want to view Visio documents in Silverlight? Well, you could save your document as a PDF or XPS file, and then view it in a viewer. A Silverlight viewer for XPS files would allow them to be seen on any browser or operating system that supports Silverlight, not just Windows. Although Microsoft have included an XPS viewer in Windows 7, and have made XPS viewers for earlier Windows versions, Microsoft do seem to have cooled-off promoting XPS as a replacement for PDF, which is a shame because XPS is an open, extensible format that is based on XAML.
Unfortunately, Microsoft do not provide a free Silverlight viewer for either of these formats, but there are several companies that do. I know that there is a CodePlex project for a Silverlight XPS Viewer ( http://azharthegreat.codeplex.com/ ), but it does not currently seem to like XPS documents from Visio. However, the company, First Floor Software, that provides the excellent Silverlight Spy has also written the Document Toolkit for Silverlight ( http://firstfloorsoftware.com/documenttoolkit ). This Silverlight control enables you to view an XPS document in several different ways, for example, with a page turn action, or by using thumbnails, or even to display the metadata inside the XPS file. The latter is extremely useful for checking the formation of the document.
Actually, there are two methods for creating XPS files from Visio …
The first method is to use the Microsoft add-in. In Microsoft Office Visio 2007, you have the option to download the free add-in from Microsoft (
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=4D951911-3E7E-4AE6-B059-A2E79ED87041&displaylang=en ). It is already built- into Microsoft Visio 2010. This will create an XPS file, complete with hyperlinks as necessary, as can be seen in the screenshot below when I loaded one of my Visio documents into the Document Toolkit online demo ( see http://firstfloorsoftware.com/documenttoolkit/online-demo/ ):