Sample Java code for XHTML to XPS conversion. Use this example code to convert XHTML to XPS within any Web or Desktop Java based application...An XPS file represents page layout files that are based on XML...file format, but uses XML in layout, appearance, and printing information...