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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
