We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Invalid index in Rows indexer: 1 when using xslt and xml to create a PDF document

When using the following code shown below to convert an XSLT style sheet and XML file to a PDF document, I get the following error “Invalid index in Rows indexer:1”.

Code being used to convert to PDF
public void ConvertXmlXsltToPDF(MemoryStream msXml, MemoryStream msXslt, MemoryStream msMergedXslXml)
msXslt.Position = 0;
msXml.Position = 0;
msMergedXslXml.Position = 0;

aGenPDF.Pdf pdfNew = new aGenPDF.Pdf();

pdfNew.BindXML(msXml, msXslt);

I have attached the style sheet and the XML file that is creating the error for testing. Any help would be greatly appreciated.


Hi Rene,

for using our API’s.

I have tested the scenario and I am able to notice any exception but as per my observations, a resultant file of 0KB is being generated. For the sake of correction, I have logged this problem as PDFNEWNET-39391 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

Is there any updated on this issue?


Hi Rene,

Thanks for your inquiry. I am afraid your reported issue is still not resolved as product team is busy in resolving other issues in the queue, reported earlier. We will notify you as soon as we made some significant progress towards issues resolution.

We are sorry for the inconvenience caused.

Best Regards,

Is there any update on this issue?



Hi Arthur,

Thanks for your patience.

I am afraid the issue is still pending for review and is not yet resolved. However as soon as we have some further updates, we will let you know.