RE: [xsl] Re: Un-cdata-section-elements

Subject: RE: [xsl] Re: Un-cdata-section-elements
From: "Nathan Young -X \(natyoung - Artizen at Cisco\)" <natyoung@xxxxxxxxx>
Date: Wed, 22 Mar 2006 11:15:56 -0800
Not to take this tangent too far but:

if (a && b){do();}

Can usually be decomposed into

if(a){
  if(b){
    do();
  }
}

OTOH if you are using && for:

command-that-might-fail() && thing-to-do-if-it-succeeds()

Then there are certainly alternatives (and in my opinion this construct
is a pain).

---->N


.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:
||:.

Nathan Young
CDC Site Design & Development->Interface Development Team
A: ncy1717
E: natyoung@xxxxxxxxx

> -----Original Message-----
> From: David Carlisle [mailto:davidc@xxxxxxxxx]
> Sent: Wednesday, March 22, 2006 2:51 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Re: Un-cdata-section-elements
>
>
> > "& isn't used much"???
>
> well I try to avoid javascript altogether, so I don't use it much,
> I take your point though:-)
>
> > Boolean AND operator
>
> well just as less-than is greater-than reversed, AND is just
> NOT(NOT(..) OR NOT(..)) so it's no doubt avoidable, although perhaps
> that's goint to extremes.
>
> David
>
>
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________

Current Thread