Mariusz Wójcik <[EMAIL PROTECTED]> writes:

> Hi
> 
> I'm using request parameter selector to maka a choice of correct xsl
> tranformation.
> This pipeline works correctly, but additionaly I'd like to check if the
> request parameter exists.
>  How can I do it? (I'd like to do the same transform when parameter doesn't
> exist, and is equal "0")
> 
> <map:pipeline>
>       <map:match pattern="dir">
>         .........
>         <map:select type="request-parameter">
>           <map:parameter name="parameter-name" value="id"/>
 
         <map:when test="">
              ???????? transformation_when_parameter_not_exists ?????????
            </map:transform>
         </map:when>

Matching for the empty string should almost work. Except that 
somebody may pass a empty string as a request parameter value.





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

Reply via email to