Re: [xsl] When to use conditional constructions?

Subject: Re: [xsl] When to use conditional constructions?
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Sun, 30 Mar 2014 18:29:48 +0200
On 30.03.2014 18:11, Dimitre Novatchev wrote:
I believe it is impossible to eliminate "if-expressions" in XPath
because we don't have templates there. It's a pity.

Does this qualify for an if-expression-less syntax?


let $a:=4
return ('result1'[$a=1], 'result2'[false()], 'result3'[4=$a], 'result4'[true()])[1]
b 'result3'


Current Thread