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: Wed, 4 Mar 2020 02:07:20 -0000
On Tue, 2020-03-03 at 22:47 +0000, Wendell Piez wapiez@xxxxxxxxxxxxxxx
wrote:
> I am also hoping that Liam suggests generating the templates
> dynamically, then using the transform() function to apply them.

:-)

Well, i mentioned shadow attributes because David Carlislebs assertion
was no longer entirely true, which i thought it worth pointing out.

Itbs true you could write an XSLT transform to create a stylesheet
using a given mode, and then apply it, all in-memoy, with
fn:transform().

But i prefer to keep things as simple and maintainable as possible!

Liam

-- 
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