saxon:tunnel-params
Returns a map containing the values of all tunnel parameters available in the current template.
tunnel-params() ➔ map(xs:QName, item()*)
There are no arguments | |||
Result | map(xs:QName, item()*) |
Namespace
http://saxon.sf.net/
Saxon availability
Requires Saxon-PE or Saxon-EE. Implemented since Saxon 10.
Notes on the Saxon implementation
Available since Saxon 10.
Details
This function returns a map containing the values of all tunnel parameters available in the current template, whether they are declared in the template or not.
The key in the map is the parameter name, as an xs:QName
value; the
corresponding value is the value of the parameter.
The function is useful for diagnostics, to determine what parameters would be available if they were declared in the template. It may also on occasions be useful to determine at run-time whether a parameter is available, without an explicit declaration.