Hi,
I've got a requirement that I thought could be filled very easily by a custom action. Basically I need to set some request parameters and some sitemap parameters before the transformers start to transform, but after the generator. So, I've got a sitemap snippet that looks like this:
<map:match pattern="passage/*"> <map:generate src="{0} type="dom"> <map:parameter name="config-file" value="configuration.xml"/> </map:generate> <map:act type="style-selection"> <map:transform src="stylesheets/{xsl-src}/> </map:act> <map:serialize type="html"/> </map:match>
I've got debug logging in the custom generator as well as in the action and it appears that the action is executed before generator. Is something going awry here, or do I have a basic misunderstanding of how things are supposed to proceed. My fallback is to do the work now being done in the action in a transformer, but the action approach seemed to be more appropriate.
<map:match pattern="passage/*"> <map:act type="style-selection"> <map:generate src="{0} type="dom"> <map:parameter name="config-file" value="configuration.xml"/> </map:generate> <map:transform src="stylesheets/{xsl-src}/> <map:serialize type="html"/> </map:act> </map:match>
(this will give a 404 if your action ever fails)
Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
