Hi!

I'd like to run an action before every request, and after it use
matchers to decide what to happen. For example:


<map match pattern="a.html">
  <map:generate type="serverpages" src="AA.xsp">
  <map:transform src="XXX.xsl"/>
  <map:serialize/>
</map:match>

<map match pattern="b.html">
  <map:generate src="b.xml">
  <map:transform src="YYY.xsl"/>
  <map:serialize/>
</map:match>

<map:match pattern="*">
  <map:act type="my-action">
    <???????>
  </map:act>
  <map:serialize/>
</map:match>


I know, that i can put the action around of all matcher, but there
could be lots of matchers in the pipeline.
And this solution is not good for me:
<map:match pattern="*">
  <map:act type="my-action">
     <map:generate type="serverpages" src="{../1}.xsp">
     <map:transform src="{../1}.xsl"/>
     <map:serialize/>
  </map:act>
  <map:serialize/>
</map:match>

Because there are differnt types of generators, and serializers.

Thanks

Zsombor

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to