XML Doc to JSP to TIFF

Posted by SPD on Stack Overflow See other posts from Stack Overflow or by SPD
Published on 2011-01-11T01:08:08Z Indexed on 2011/01/11 3:55 UTC
Read the original article Hit count: 212

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about java

Related posts about Xml