I am trying to Convert XML to PDF using groovy through inputstream and aspose.jar following below:
below is my code:
def document = new Document("...dir/template.docx");
PdfSaveOptions saveOptions = new PdfSaveOptions(…...my code: DocumentBuilderFacto dbf = DocumentBuilderFacto.newInstance();...getProperties(i); DocumentBuilder db = dbf.newDocumentBuilder(); Document...