This topic describes how to use the GroupDocs.Viewer Java API to convert XML documents to HTML (with and without pagination), PDF documents, PNG, and JPEG raster formats....document LoadOptions loadOptions = new LoadOptions ( FileType . XML...xmlContent . toByteArray ()), loadOptions )) { // do some work... }...