xsl-list
[Top] [All Lists]

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

2020-03-04 10:44:12
On Wed, 2020-03-04 at 15:29 +0000, Piez, Wendell A. (Fed)
wendell(_dot_)piez(_at_)nist(_dot_)gov wrote:
Of course maintainability is very contingent ... I am not sure I'd
deploy XSLT-generating XSLT for a one-off either.

I'd probably be willing to take an external XSLT file and do
substitutions on the fly. That way the external file can be edited
easily.

Including the XSLT e,g, inside a variable also requires namespace
mangling or wrapping or use of xsl:element and starts to require more
engineering than is appropriate, i agree.

The XSLT 3 course i run includes a section on the rhetoric of
stylesheets and on thinking about who will be working with the
stylesheets you write.

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