Re: [xsl] How do I pass the mode as a string?

Subject: Re: [xsl] How do I pass the mode as a string?
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Mar 2020 23:48:06 -0000
On Tue, 2020-03-03 at 18:37 +0000, David Carlisle
d.p.carlisle@xxxxxxxxx wrote:
> 
> yes so I suppose "value determined at compile time" rather than
> "literal" for xslt 3,

right

>  but either way it's no use if the OP wants two
> values in the same run:-)

also true - then you're down to xsl:choose or higher-order functions
(we need higher-order modes!) or whatever.


-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org

Current Thread