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

RE: lookup table (was: mixed content nodes question)

Subject: RE: lookup table (was: mixed content nodes question)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 7 Jan 2005 23:09:57 -0000
string lookup table
> But I obviously have a fundamental misunderstanding: I know that the
> select expression in the original call returns a node-set, which the
> XSLT processor apparently converts automatically to a string when
> evaluating the test expression (as desired, since I get the intended
> language names in my output).  

When you compare a node-set to a string, the result is true if any node in
the node-set matches the string. If the node-set is empty, there's no node
that matches the string, so the result is false (regardless of the value of
the string).

Michael Kay
http://www.saxonica.com/

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.