Project

Profile

Help

java-like ( boolean ? caseTrue : caseFalse )

Added by Anonymous about 19 years ago

Legacy ID: #3423256 Legacy Poster: Konstantyn Smirnov (injecteer)

hi I remember, that the Saxon (or XSLT 2) has the feature similar to this one. Unfortunately, I couln't find it as the majority of the search-engines think that "?" and ":" are not real letters :/. Can please, someone give me a short how-to about the expression? Thanx in advance


Replies (1)

RE: java-like ( boolean ? caseTrue : caseFals - Added by Anonymous about 19 years ago

Legacy ID: #3423375 Legacy Poster: Michael Kay (mhkay)

The XPath2 conditional expression looks like this: if (condition) then expression-1 else expression-2 Michael Kay

    (1-1/1)

    Please register to reply