Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Meaning of <xsl:when test="''='FALSE'">

Reply
Thread Tools

Meaning of <xsl:when test="''='FALSE'">

 
 
renderman
Guest
Posts: n/a
 
      04-27-2005
Hi,

I looked through a computergenerated code because I had to edit
something manually.

I found this line:
<xsl:when test="''='FALSE'">

I don't get what this means.

Please help me.

 
Reply With Quote
 
 
 
 
David Carlisle
Guest
Posts: n/a
 
      04-27-2005
"renderman" <> writes:

> Hi,
>
> I looked through a computergenerated code because I had to edit
> something manually.
>
> I found this line:
> <xsl:when test="''='FALSE'">
>
> I don't get what this means.
>
> Please help me.


It tests if the empty string '' is equal to to the string 'FALSE' this
is legal but always false.

David
 
Reply With Quote
 
 
 
 
renderman
Guest
Posts: n/a
 
      04-27-2005
So for you this statement doesn't make any sense, either?

And what about this line:

<xsl:when test="concat('FALSE','')='FALSE'">

 
Reply With Quote
 
David Carlisle
Guest
Posts: n/a
 
      04-27-2005
"renderman" <> writes:

> So for you this statement doesn't make any sense, either?


The statement makes sense (it has well defined meaning) it just isn't
sensible to put it in a stylesheet.

>
> And what about this line:
>
> <xsl:when test="concat('FALSE','')='FALSE'">


That tests if concatenating the empty string to the string 'FALSE' is
equal to the string 'FALSE'. Again this is legal but not the most useful
test ever written, as it's always true.

David
 
Reply With Quote
 
renderman
Guest
Posts: n/a
 
      04-28-2005
Thanks for your reply.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Understanding search queries, semantics, and "Meaning" ...aren't weall looking for meaning? 5lvqbwl02@sneakemail.com Python 4 01-14-2009 02:28 PM
use work.my_package.all-->what exactly meaning of this Parthav VHDL 4 01-13-2006 07:50 PM
WHAT IS THE MEANING *FESWANY MCSE 3 01-28-2005 02:55 PM
Meaning of word "develop" in the exam (70-300) TomTom MCSD 10 08-13-2004 04:39 PM
Meaning of output value? Sander Odekerken VHDL 2 05-18-2004 05:41 PM



Advertisments