XML Doc to JSP to TIFF
- by SPD
We have around 100 word templates, every time user gets a business request he goes into shared folder select the template he/she wants and enter information and save it as tiff, these tiffs later processed by some batch program. I am trying to automate this process. So I defined an XML which has Template information like
<Template id="1">
<Section id="1">
<fieldName id="1">Date</fieldName>
<fieldValue></fieldValue>
<fieldtype></fieldType>
<fieldProperty>textField</fieldProperty>
</Section>
<Section id="2">
<fieldName id="2">Claim#</fieldName>
<fieldValue></fieldValue>
<fieldtype></fieldType>
<fieldProperty>textField</fieldProperty>
</Section>
</Template>
Based on the template values I generate the JSP on fly.
Now I would like to generate a TIFF file out of it in specified format.
I am not sure how to handle this requirement.
*edited the original question.