Zbigniew Bomert OP wrote:

> function getPipeline(uri, viewData) {
>      var pipelineUtil =
> cocoon.createObject(Packages.org.apache.cocoon.components.flow.util.PipelineUtil);
>      var result = pipelineUtil.processToDOM(uri, viewData);
>      cocoon.disposeObject(pipelineUtil);
>      return result;
> }

Neat!

> 
> myxml contains dom xml.

Then your solution works ofcourse. Only thing is that it builds a DOM
representation of the data, which could become memory-problematic for
large documents. Other than that, i like it !

Thanks
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to