[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Conditional test is failing
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|