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?
--
View this message in context:
http://www.nabble.com/Why-Is-d1-Always-Null----%3Cmap%3Aparameter-name%3D%22d1%22-value%3D%22%7B1%7D%22--%3E-tf4490994.html#a12808110
Sent from the Cocoon - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]