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?
any experience with comparing text from XPS file?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: any experience with comparing text from XPS file?
You could convert the xps file into a pdf file.
Googling showed that there are such converters available.
Regards, Roland
Googling showed that there are such converters available.
Regards, Roland