Hello,
I am trying to convert Xml to Pdf using below aspose code but encountering an exception.
Code I am using:
try (final com.aspose.pdf.Document document = new com.aspose.pdf.Document();) {
final com.as…...PDF Product Family aspose-pdf-java aakanksha76 September 12, 2025...TextFragment(xmlContent); // -- Set font to a monospaced font to mimic browser XML...