Well, I don't know java actually. I use such template with following
flowscript (the function I found somewhere on the list):

myxml = getPipeline("mypipeline");

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;
}

myxml contains dom xml.

zb


Jorg Heymans wrote:
> Zbigniew Bomert OP wrote:
> 
> 
>><data>
>>${myxml}
>></data>
> 
> 
> Are you sure this works when myxml contains xml tags ? Surely the
> downstream parser chokes on it as you're effectively writing tags in a
> text node ?
> 
> 
> Jorg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to