Page 1 of 1

any experience with comparing text from XPS file?

Posted: Wed May 13, 2009 5:20 pm
by Ciege
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?

Re: any experience with comparing text from XPS file?

Posted: Wed Dec 22, 2010 3:40 pm
by Support Team
You could convert the xps file into a pdf file.
Googling showed that there are such converters available.

Regards, Roland