[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Conditional test is failing

Subject: Re: Conditional test is failing
From: "Jon Gorman" <jonathan.gorman@xxxxxxxxx>
Date: Thu, 16 Mar 2006 15:40:50 -0600
conditional test against
On 3/16/06, Gowri Ratakonda <gratakonda@xxxxxxxxx> wrote:
>
> Thanks for the quick response, Sreeni!
> Changing the quotes fixed the problem.
>

Just to clarify, the reason it worked when you change around the
quotation marks is that you're changing what is being evaluated...

$foo = bar, you are comparing the string value of $foo against the
string values of the elements named bar that are children of the
current node.

$foo = 'bar' you are comparing the string value of $foo against the
string 'bar'.

See http://www.w3.org/TR/xpath#booleans for a more accurate
description of this process.

Jon Gorman

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.