There are articles on how to work with text, gradient, image, transparency, and pages of XPS files using Aspose.Page for Java API solution....with XPS Document | Java XPS extension is linked to the XML Paper...be viewed by changing its extension to .zip and using any archiver...