Subject: Re: [xsl] When to use conditional constructions? From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Sun, 30 Mar 2014 09:46:29 -0700 |
On Sun, Mar 30, 2014 at 9:44 AM, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote: > And for if .. then .. else : > > ( exprResultIf [condition], exprResultElse [not(condition)] ) [1] And the last indexing isn't necessary, so just: ( exprResultIf [condition], exprResultElse [not(condition)] ) The brackets could also be omitted in some (not all) situations. -- Cheers, Dimitre Novatchev --------------------------------------- Truly great madness cannot be achieved without significant intelligence. --------------------------------------- To invent, you need a good imagination and a pile of junk ------------------------------------- Never fight an inanimate object ------------------------------------- To avoid situations in which you might make mistakes may be the biggest mistake of all ------------------------------------ Quality means doing it right when no one is looking. ------------------------------------- You've achieved success in your field when you don't know whether what you're doing is work or play ------------------------------------- To achieve the impossible dream, try going to sleep. ------------------------------------- Facts do not cease to exist because they are ignored. ------------------------------------- Typing monkeys will write all Shakespeare's works in 200yrs.Will they write all patents, too? :) ------------------------------------- I finally figured out the only reason to be alive is to enjoy it.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] When to use conditional c, Dimitre Novatchev | Thread | Re: [xsl] When to use conditional c, Michael Kay |
Re: [xsl] When to use conditional c, Dimitre Novatchev | Date | Re: [xsl] What is the Core of XSLT?, Dimitre Novatchev |
Month |