rewrite rules with parameters

Poster Content
nk4um Moderator
Posts: 485
January 24, 2010 20:28Give $e1 a try
Hi mpone, the arguments you are capturing are ending up on the outer xslt identifier rather than the nested service request identifier. if you specify $e1 rather than $1 then this will escape the captured group so that it won''t be parsed by the outer identifier.

Give this a try:
<rule>
  <match>active:siebelLinks(.*)</match>
  <to>active:xslt+operator@ffcpl:/links/siebelLinks.xslt+operand@active:allCustomerLinks$e1</to>
</rule>


Cheers,
Tony
nk4um User
Posts: 8
January 21, 2010 16:21rewrite rules with parameters
I have a rewwrite rule that does an xslt transform.  The transform takes an xslt and the result of another service call that needs parameters.  I can''t seem to the get the rule to pass the parameters.  The operand below takes the parameters and returns the xml to be transormed.  It ends up getting called without any parameters.  How can I pass parameters to the operand?  Is this possible?

<rule>
  <match>active:siebelLinks(.*)</match>
  <to>active:xslt+operator@ffcpl:/links/siebelLinks.xslt+operand@active:allCustomerLinks$1</to>
</rule>