cancel
Showing results for 
Search instead for 
Did you mean: 

Complicated document merge question

austinjim
Champ in-the-making
Champ in-the-making
Hi all,
I need the ability to generate documents on demand, merging in sub-documents like copyright, legal disclaimer, etc. We are trying to use Alfresco for workflow but need to find a tool that handles the merging for us. I think this will require creating a template document with references to external files that have the variable portions.
Has anyone done anything like this? I can't really find anything when I search the web but I'm sure it's not an uncommon problem. I'd really appreciate any help.
Thanks!
Jim
1 REPLY 1

jcox
Champ in-the-making
Champ in-the-making
From your description, it sounds like you're talking
about including content from one place within another,
not line-level merges between conflicting versions with
a common ancestor.

There are two very common approaches for handling
inclusion:   dynamic (e.g.: server side includes or JSP includes),
and static (e.g.: template-driven includes such as you can
achieve via  freemarker and/or xslt).

If you go the static approach, then you'd just regenerate
your output as-needed.   If you use SSIs, it's all done
automatically, live.   The static approach is more scalable
if you've got a huge amount of traffic, but even large sites
use dynamic inclusion fairly often.

I hope this helps,
  -Jon