Hi,
Can you please help me with the right way to convert xsl and xml files to PDF.
I have used the following approach but it doesnot work.
For xml:
Pdf pdf = new Pdf();
pdf = Pdf.bindXML(new FileInputStream(fileName));
//Filename is the name of the xsl file
//Create the PDF document by calling its save method
pdf.save(new FileOutputStream(fileName.substring(0,
fileName.lastIndexOf("\\"))
+ "\\" + fileName.substring(fileName.lastIndexOf("\\")+1,fileName.lastIndexOf('.')) + ".pdf"));
and for xsl: Dont know what to do...
This message was posted using Page2Forum from Aspose.Cells for Java - Documentation