private static void AsposeFun()
{
var sourceDir = “C:\Project\XBRL\”;
var outputDir = “C:\Project\XBRL\”;
// Load XBRL document
XbrlDocument document = new XbrlDocument(sourceDir + @“CONF-ATO-IITR-SRP-004_Prefill_Response_03.xml”);
Aspose.Finance.License license = new Aspose.Finance.License();
license.SetLicense("Aspose.Financefor.NET.lic");
// Set save options
Aspose.Finance.Xbrl.SaveOptions saveOptions = new Aspose.Finance.Xbrl.SaveOptions();
saveOptions.SaveFormat = Aspose.Finance.Xbrl.SaveFormat.XLSX;
// Save XBRL as XLSX in File Stream
FileStream fs = new FileStream("sample_out_1.xlsx", FileMode.Create);
document.Save(fs, saveOptions);
// Open an Excel file
Workbook workbook = new Workbook(fs);
workbook.Save(outputDir + "Aspose_sample_output_1.pdf");
}