Saxon evaluating functions and variables unnecessarily
Posted: Tue Aug 18, 2015 10:35 pm
When I use Saxon 9.6 to run a transformation, and it comes across a statement such as this...
...it is evaluating $b whether or not $a is true. For a full discussion, along with result discrepancies, see here:
http://stackoverflow.com/questions/3207 ... alculation
Any suggestions on how to rectify this? Thanks!
Code: Select all
<value-of select ="if ($a) then $a else $b"/>
http://stackoverflow.com/questions/3207 ... alculation
Any suggestions on how to rectify this? Thanks!