inserting result of one pipeline into another

2006-05-23 Thread Brian Hawkins
I have one pipeline that generates a page that has a div tag in it. I would like to pass this pipeline a parameter that will be the name of another pipeline that it can run, get the result, and then place the results into that div tag. How does one do this? Thanks Brian begin:vcard fn:Brian

Re: inserting result of one pipeline into another

2006-05-23 Thread Andre Juffer
Brian Hawkins wrote: I have one pipeline that generates a page that has a div tag in it. I would like to pass this pipeline a parameter that will be the name of another pipeline that it can run, get the result, and then place the results into that div tag. How does one do this? How about u

Re: inserting result of one pipeline into another

2006-05-23 Thread bhawna asnani
A possible solution could be using XSPUtil if you are working with XSP's String xml = null; pipeline = new StringBuffer( "cocoon://pipeline" ); try { System.err.println( "trying to gen this: " + pipeline.toString() ); xml = XSPUti

Re: inserting result of one pipeline into another

2006-05-24 Thread Brian Hawkins
Here is my pipeline I've added the xi:include tag in the main.xsl file. The problem is that it does not work. It does work however if I move the xi:include into the main.xsp and put the xinclude transform after the generate. Why does it not work after the XSL transform? Brian An

Re: inserting result of one pipeline into another

2006-05-24 Thread Brian Hawkins
I found my problem. The output of the main.xsl was set to "html" and that hosed the xinclude transformer. When I change it to xml it worked fine. Brian Hawkins wrote: Here is my pipeline I've added the xi:include tag in the main.xsl file. The problem is that it does not work. It