XML Paper Specification (XPS) of a Word 2003 Document
page 4 of 5
by Jayaram Krishnaswamy
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 29592/ 66

Working with the XPS documents

Microsoft’s Window Presentation Foundation, with its obvious support from .NET 3.0, will be able to handle all the necessary procedures such as programmatic creation of XPS documents, navigating, storing and archiving, providing digital signature security features, and providing an excellent packaging support that keeps the whole document in a text based format. The logical XPS hierarchy keeps the document and the various pages in the document and their associated resources together. Motivated readers should read this Microsoft article on XPS.

There are also third party products such as NiXPS (Beta version) which provide a similar support through user friendly interfaces for documents on both Mac and Windows. The NiXPS v1.0 beta 1.exe may be downloaded from NiXPS site. Figure 9 is a screen shot of one of the Word 2003 document converted to the XPS format probed using the NiXPS application. The picture shows the document in the left pane and a page in the right pane. Since there is only one page in the document, only that page is shown. NiXPS can look through the contents of the document details (fonts, style and so on), merge documents, etc.

 Figure 9


The window with the title, Inspector: imageChanged.xps, looks at the package as a whole in a tree arrangement. This is just the XPS file renamed with the extension changed to ZIP (imageChanged.xps renamed to imageChanged_XPS.zip) with its content unzipped into a folder. It has additional elements such as FixedDocumentSequence.fdseq which takes care of managing multiple documents in a package.

Figure 10 shows the folder contents of imageChanged_xps_zip. The metadata folder contains the printer targeted information in XML.

Figure 10


Wrap up of different documents discussed in this article

Figure 11 summarizes the several document extensions discussed when you start off with a test.doc document. Figure 11 also shows how to go from one to the other.

Figure 11

View Entire Article

User Comments

Title: Please disregard   
Name: Jayaram Krishnaswamy
Date: 2010-04-11 7:19:40 AM
The user comment from 'USER' may be disregarded. It does not concern the present article


Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2021 ASPAlliance.com  |  Page Processed at 2021-12-07 8:07:22 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search