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);
pdfNew.Save(msMergedXslXml);
}
I have attached the style sheet and the XML file that is creating the error for testing. Any help would be greatly appreciated.
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.
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.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.