any experience with comparing text from XPS file?

Ask general questions here.
User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

any experience with comparing text from XPS file?

Post by Ciege » Wed May 13, 2009 5:20 pm

I am writing some document comparison methods in my automation code (using Ranorex but this is not a tool specific question). I have methods for comparing the text in text files, PDF files, Excel files, Word files, etc... However, I cannot access the text in XPS (XML Paper Specification) files.

I can do a byte for byte comparison of the file but that will inevitably fail since I need to parse out any date/time stamps using regular expressions.

Anyone know of a method for extracting the text from XPS files?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11710
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: any experience with comparing text from XPS file?

Post by Support Team » Wed Dec 22, 2010 3:40 pm

You could convert the xps file into a pdf file.
Googling showed that there are such converters available.

Regards, Roland
.
Image