cancel
Showing results for 
Search instead for 
Did you mean: 

Is rendition service only 1:1::input:output?

bnordgren
Champ in-the-making
Champ in-the-making
I have a question about the possibility of managing LaTeX, DITA or DocBook transformations with the rendering service. In these cases, it is highly likely that a single "rendition" will transform one group of files into another group of files (e.g. html output). Alternatively, a rendition may transform a group of files to a single file (e.g., PDF output). Can the rendition service model these many to many or many to one relationships?

Thanks
1 REPLY 1

neilm
Champ in-the-making
Champ in-the-making
The RenditionService in 3.3 only renders single source nodes to single target nodes.
However in 3.4 we added a rendering engine that renders a single source node to multiple target nodes. See org.alfresco.repo.rendition.executer.HTMLRenderingEngine for details.

It takes a doc input file which may have embedded images and from that produces a rendition node (body content as HTML) along with a number of other nodes storing the extracted images.

Maybe you could use that to explore many:many renditions.