Hello Suresh,
Importing XML data to Pdf form is pretty much simple using ImportXml function. Problem might be due to the fact that XML elements might not be properly tagged. Following code sample gives a simple illustration of importing data from XML file to
//Assign input and output PDF documents
Form form = new Form("student.pdf", "studentOut.pdf");
//Create an XML file as a FileStream that contains the contents of the PDF document
System.IO.FileStream xmlInputStream = new FileStream("student.xml", FileMode.Open);
//Import the values from the XML file to the PDF form
form.ImportXml(xmlInputStream);
//Save the output PDF document
form.Save();
//Close the input XML stream
xmlInputStream.Close();
For more information Kindly visit Import and Export into XML.Incase problem persists, please send your Xml.
Nayyer Shahbaz
Support Developer, Aspose Sialkot Team
About Us Contact UsKeep in touch! We're on
Twitter and
Facebook