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....started to support XML format a long time ago, but XML documents...correct line breaks and indents, valid highlighting of every XML entity...