Need Urgent Help - Is there a way I can compare 2 XPS documentsAll,<br/><br/>I am struggling with Adobe PDF comparison. I contacted Adobe and they mentioned that comparison feature is not available for automation. Thank God I saw this new document format ( XPS ) from Microsoft. Can you please let me know whether the following is possible and also what basics should be installed in the system ?<br/><br/>1. Generate an XPS document from Adobe PDF. <br/>   ( automation only using VB Script or .NET ; I already created the document from the Print menu in Windows Vista )<br/><br/>2. Compare the generated XPS for appearance, rendering and content.<br/><br/>3. Is there anyway to generate the XAML from the XPS document and compare the XAML / XML documents ?<br/><br/>Thanks for your time and patience.<br/><br/>Chandrakanth© 2009 Microsoft Corporation. All rights reserved.Thu, 04 Jun 2009 13:51:10 Z59be6b56-b86d-401e-b61d-ba211db768c2http://social.msdn.microsoft.com/Forums/en-US/windowsxps/thread/59be6b56-b86d-401e-b61d-ba211db768c2#59be6b56-b86d-401e-b61d-ba211db768c2http://social.msdn.microsoft.com/Forums/en-US/windowsxps/thread/59be6b56-b86d-401e-b61d-ba211db768c2#59be6b56-b86d-401e-b61d-ba211db768c2Chandrakanth Prasannahttp://social.msdn.microsoft.com/Profile/en-US/?user=Chandrakanth%20PrasannaNeed Urgent Help - Is there a way I can compare 2 XPS documentsAll,<br/><br/>I am struggling with Adobe PDF comparison. I contacted Adobe and they mentioned that comparison feature is not available for automation. Thank God I saw this new document format ( XPS ) from Microsoft. Can you please let me know whether the following is possible and also what basics should be installed in the system ?<br/><br/>1. Generate an XPS document from Adobe PDF. <br/>   ( automation only using VB Script or .NET ; I already created the document from the Print menu in Windows Vista )<br/><br/>2. Compare the generated XPS for appearance, rendering and content.<br/><br/>3. Is there anyway to generate the XAML from the XPS document and compare the XAML / XML documents ?<br/><br/>Thanks for your time and patience.<br/><br/>ChandrakanthWed, 03 Jun 2009 21:21:57 Z2009-06-03T21:21:57Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsxps/thread/59be6b56-b86d-401e-b61d-ba211db768c2#55694f91-4e9a-4dcd-8a94-950df14ddb63http://social.msdn.microsoft.com/Forums/en-US/windowsxps/thread/59be6b56-b86d-401e-b61d-ba211db768c2#55694f91-4e9a-4dcd-8a94-950df14ddb63nixpshttp://social.msdn.microsoft.com/Profile/en-US/?user=nixpsNeed Urgent Help - Is there a way I can compare 2 XPS documentsHi, <div><br/></div> <div>how did you create the PDF? Maybe you can print to the MXDW, and have an XPS right away.</div> <div>You can also print the PDF to XPS, but you need an app that can print PDF. Alternatively you'll need a library that converts PDF to XPS.</div> <div><br/></div> <div>For the comparison: you could render the XPS files to raster, and check the rasters for differences.</div> <div>This is of course a pure visual comparison.</div> <div>(We do this as part of our regression testing here @ NiXPS)</div> <div><br/></div> <div>If you would want a structural diff, you would do so by comparing the components of each XPS individually. </div> <div>Of course, this will only yield satisfying results if the XPS files are not very 'structurally different'.</div> <div><br/></div> <div>Regards,</div> <div>Nick.</div><hr class="sig">Check out my cross platform xps library and tools at http://nixps.comThu, 04 Jun 2009 08:18:08 Z2009-06-04T08:18:08Zhttp://social.msdn.microsoft.com/Forums/en-US/windowsxps/thread/59be6b56-b86d-401e-b61d-ba211db768c2#8784b1a3-d3a9-4831-8206-def052f6bf72http://social.msdn.microsoft.com/Forums/en-US/windowsxps/thread/59be6b56-b86d-401e-b61d-ba211db768c2#8784b1a3-d3a9-4831-8206-def052f6bf72Chandrakanth Prasannahttp://social.msdn.microsoft.com/Profile/en-US/?user=Chandrakanth%20PrasannaNeed Urgent Help - Is there a way I can compare 2 XPS documents<p>Nick,</p> <p>Thanks for the reply. I created the PDF using Cute Editor. I am able to print ( save the file as PDF ) using Micrososft XPS Document Writer. The XPS file is generated as well.<br/><br/>I want to know whether there is an automation library available in any .NET language to convert XPS to PDF and compare them ? Also can you please explain what do you mean by &quot;raster&quot; ?<br/><br/>Also if you can let me know whether there is any way I can convert the XPS to XML  or get the XML that makes up each page of XPS programatically ?<br/><br/>Thanks,<br/>Chandrakanth</p> <p> </p>Thu, 04 Jun 2009 13:51:10 Z2009-06-04T13:51:10Z