cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Why Is d1 Always Null -- <map:parameter name="d1" value="{1}" />
Date Fri, 21 Sep 2007 00:07:35 GMT
On 20.09.2007 19:43 Uhr, sharvey wrote:

> I'm puzzled.  I have the following match statement in my sitemap.  The first
> instance of {1} works and the generator reads data.xml.  But the second
> usage in the map:parameter entry doesn't work, and d1 is always null.
> 
> 			<map:match pattern="*.dml">
> 				<map:generate src="{1}/data.xml"/>
> 				<map:act type="request">
> 					<map:parameter name="parameters" value="true"/>
> 					<map:transform src="data2dml.xsl">
> 						<map:parameter name="d1" value="{1}" />
> 						<map:parameter name="version" value="{version}" />
> 					</map:transform>
> 				</map:act>
> 				<map:serialize type="xml"/>
> 			</map:match>
> 
> What's wrong, and how do I fix it?

That's a Cocoon FAQ :)

http://cocoon.apache.org/2.1/faq/faq-actions.html

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message