xsl-list
[Top] [All Lists]

Re: [xsl] user-defined XSLT functions and stylesheet variables?

2021-06-20 12:13:06


I have occasionally wondered whether the ban on using tunnel
parameters inside a function is perhaps rather paternalistic. 

I think so - you can presumably have a template  wrapper whose only
purpose  is to return a tunel parameter, and call it from within the
function.


No, you can't: if template T1 calls function F and F calls template T2, T2 gets 
an empty set of tunnel parameters.

Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--


<Prev in Thread] Current Thread [Next in Thread>