Hello, I am using the XML Data Merging functionnality of iText (this is great !). I have XML templates(about 50) on one side and a Bean of Data to put inside with some Personnal Tag to use on the other side. It is working wonderfully and very fast.
I want to extend this engine to be able to receive an ArrayList of templates whith an arrayList of Bean and merge everything to have one PDF containing all the templates and all the data. My problem is that when I parse the first template with the first data, the parser adds metadata automaticaly to the Document and opens it itself, so when I try to come a second time on the Document I get: ExceptionConverter: com.lowagie.text.DocumentException: The document has been closed. You can't add any Elements. The problem is that I can't open the Document manually, because the Parser will try to add th next Metadata and will tell me that I can only add element with content ! What should I do to parse and add content to an existing document ? Is it possible ? Thanks a lot Julien ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
