[xsl] Can a template dynamically discover the parameters tunneled to it?

Subject: [xsl] Can a template dynamically discover the parameters tunneled to it?
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Jun 2022 15:45:00 -0000
Hi Folks,

I am using the tunnel thing to move parameter values down to a template.

The template is used by many higher-up elements which tunnel different
parameters.

Is there a way for the template to dynamically discover the parameters that
were tunneled to it?

It might sound strange for different parameters to be tunneled to the same
template. But actually it's not strange. The template is generating templates
(i.e., the XSLT program is generating another XSLT program) so if the template
is invoked from element A it might generate a template that requires
parameters A and B, while if the template is invoked from element B it might
generate a template that requires parameters A, B, and C.

/Roger

Current Thread