[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: xsl filter problem
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 26 Dec 2002 03:44:29 -0800 (PST)
Hi Yuval,

> When choosing "all cities" - the result is an empty table instead of 
> the list of all cities with the customers names.
> I tried to giva the param "city" a diect value of "*" or " '*' " and 
> it still didn't work.
> How can I pass a value to this param which will act like : <xsl:for-
> each select="customers/customer[city=*]"> ??


Use:

customers/customer[city=$city or $city = '*']


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xsl filter problem
    • Yuval - Wed, 25 Dec 2002 18:50:02 -0500 (EST)
      • Mike Brown - Wed, 25 Dec 2002 19:59:21 -0500 (EST)
        • Yuval - Thu, 26 Dec 2002 05:10:00 -0500 (EST)
          • Mike Brown - Thu, 26 Dec 2002 06:05:23 -0500 (EST)
      • <Possible follow-ups>
      • Dimitre Novatchev - Thu, 26 Dec 2002 06:44:53 -0500 (EST) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member