Re: Help needed on fremarker - creating document

Daniel Dekany <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Thursday, December 9, 2010, 9:33:27 AM, Henri Séverac wrote:

> Hello,
>  
> I just missed something and you probably can help me.
>  
> I have a XML file containing a table of n records, each records
> contains a set of tagged XML chunks.
> I build a free marker template in order to create HTML documents.
>  
> I want to have one HTML file (document) per record: 1 document = 1
> HTML file = 1 record   i.e I want to have n HTML files containing each 1 document
>  
> I get:  n HTML file containing all the n required documents.
>  
> Probably I forgot a parameter in my template or in launching the merge process.
> Who can help me in giving the clue?

Are you using FMPP? Because FreeMarker itself doesn't implement
outputting into multiple files.

If you are using FMPP, see
http://fmpp.sourceforge.net/qtour.html#sect4 as an example. Maybe you
miss some @pp calls?

> Thanks and best regards 
>  
> Henri Severac
> Partner Consultant
>  
> Stradefi SA
> Rue Ferdinand Hodler, 13
> 1211 Genève 3
> )mobile: +41 79 212 72 65
> .  mail : [email protected]
> Skype: henriseverac
> Accelerate and secure your document & processes
>  

-- 
Best regards,
 Daniel Dekany


------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.