My xsl has a parameter
I want to use it inside match
Well, you could use a conditional instruction inside the template:
.. do something
You just need to be aware that this template will handle all elements that satisfy the first condition. If you have a different template that handles elements that match the first, but not the second, then use an , and put the other template's body in the block.
Or, XSLT2 can handle it as is if you can switch to an XSLT2 processor.