I am working on a project that will have a dozen xml templates, with placeholders for 
data from a database. I will need to let the user select several of these to 
eventually be made into one document. (hopefully RTF). 

I have a class that will create a custom hashmap based on the database data for a 
template, and then use the XmlParser class to read in a template and merge the data. 
This works great. The problem is that this only works for one template. 

The original intention had been to create a new XML file for each template, with the 
data merged, (using XmlWriter as the Writer with XmlParser), then combine these XML 
files, then send this combined file through the parser again to create a RTF document.

I am not sure if this is really a great idea or not. If I was to do this process for 
4-5 templates, each output file would be it's own well formed document, and I am not 
sure how to put them together. 

Anyone have better ideas?

Chris Ward - Developer
Integral Business Solutions
Email:[EMAIL PROTECTED]
Web:  www.go-integral.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to