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
<map:generate src="content/main.xsp"/>
<map:transform src="style/main.xsl">
<map:parameter name="use-request-parameters" value="true"/>
</map:transform>
<map:transform type="xinclude"/>
<map:serialize type="xml"/>
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
Andre Juffer wrote:
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 using xinclude and jx like:
<div>
<xi:include href="cocoon://${pipeline}" />
</div>
The value of pipeline could be set with flow. The first pipeline
should rely on the XIncludeTransformer.
Thanks
Brian
---------------------------------------------------------------------
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]
begin:vcard
fn:Brian Hawkins
n:Hawkins;Brian
org:;Development
adr:suite A122;;34 E 1700 S;Provo;UT;84606;USA
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;work:801-705-9306
x-mozilla-html:TRUE
url:http://www.lingotek.com
version:2.1
end:vcard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]