Subject: Re: [xsl] XSLT 2.0 courses?|
From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Sep 2020 11:30:27 -0000
Well, I thought about using EBV, so it means (if ($a) then $a else $b), but zero is falsey, so you get surprises with, for example
@price * (1 + (@VAT_Rate otherwise 0.2))
which potentially gives the wrong answer if @VAT_Rate is present but zero.
And it also gets complicated with atomization: if the attribute is present but set to a zero length string, which way do you go?
|<- Previous||Index||Next ->|
|Re: [xsl] XSLT 2.0 courses?, Liam R. E. Quin liam||Thread||Re: [xsl] XSLT 2.0 courses?, David Carlisle d.p.c|
|Re: [xsl] XSLT 2.0 courses?, Imsieke, Gerrit, le-||Date||Re: [xsl] XSLT 2.0 courses?, Michael Kay mike@xxx|