Hi, we have observed that there are two ways to generate the final transformed document from a set of different docs. (Example, combining footer, header, body to form the final document):
1. Breadth approach: The first pipeline calls a set of processors one after the another , each of which returns an HTML document that is ultimately aggregated by the last processor of the main pipeline. 2. Depth approach: The first processor in the main pipeline calls a second pipeline (through its config parameter), which in turn calls a third one, and so on. The last(pipeline) in this chain (say third) returns its output (HTML/XML) to the caller (second), which in turn aggregates this with its own (data) input, transforms it and passes its output back to the first processor. The first processor's output is the final page containing all the components, which later can be formatted. Which approach is more efficient? Thanks, Bhaskar
