Re: [xsl] XSLT 2.0 courses?

Subject: Re: [xsl] XSLT 2.0 courses?
From: "Pieter Masereeuw pieter@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Sep 2020 07:02:40 -0000
Having been confronted with the terseness of C and Perl, I must confess that I like if ($a) then $a else $b better, even though it may look somewhat silly.

Being verbose sometimes helps readers of your code more than being clever.


On 9/21/20 3:34 AM, Pieter Lamers pieter.lamers@xxxxxxxxxxxx wrote:
On 19/09/2020 01:54, Liam R. E. Quin liam@xxxxxxxxxxxxxxxx wrote:
For those wondering, ($a, $b, $c, ...)[1] returns the first non-empty
non-false item out of $a, $b and $c, so it's a shortcut for
     <xsl:sequence select="if ($a) then $a else $b" />

Current Thread