cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miller, Grant" <>
Subject 'Dependency' tag output when chaining pipelines using custom logi csheets (Cocoon 2)
Date Fri, 04 Jan 2002 12:05:43 GMT

I have a sub sitemap which chains 2 pipelines as follows:

	<map:match pattern="xspsrc">
		<map:generate type="serverpages" src="xspsrc.xsp"/>
		<map:transform src="createxsp.xsl"/>
		<map:serialize type="xml"/>

	<map:match pattern="xspsink">
		<map:generate type="serverpages" src="cocoon:/xspsrc"/>
		<map:serialize type="xml"/>

When xspsink is requested it uses the output of the xspsrc pipeline as it's
input. The output of xspsrc is itself an xsp page and xspsink processes it
(so making it possible to have multiple generate steps). This works fine.
However, problems arise when I try to use custom logicsheets in the input to
'createxsp.xsl' wraps the output of the preceeding generate step in an
xsp:page tag. This tag contains the namespaces I want to use to process the
output of xspsrc in xspsink. For example:

	<xsl:template match="/">
		<xsp:page xmlns:xsp=""
xmlns:esql="" version="1.0">

	<xsl:template match="@*|node()" priority="-1">
			<xsl:apply-templates select="@*|node()"/>

So I can then use the esql logicsheet when processing the output of xspsrc
in xspsink. This works too.
However, as soon as I include a custom logicsheet in the output xsp:page tag
it fails to work. I get the output from xspsink as follows (assuming I use
custom logicsheet named 'test'):

	<dependency xmlns:xml="" 
		/E:/Tomcat/Program Files/Apache Tomcat

What does all this mean? The dependency tag includes namespaces I haven't
used at all and the path to the test logicsheet has been resolved correctly
(presumably via cocoon.xconf file). I can use the test logicsheet fine if
not chaining pipelines.
Can anyone help?


Grant Miller

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate, or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender by
e-mail promptly that you have done so.  Thank You.

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message