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]
⇒ 'result3'
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--