|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: variable in filter doesn't work??
> why doesn't this work? > ----------------------- > <xsl:variable name="filter" select='"cat = 'zoro'"'/> Because the value of your predicate is a string. The string is converted to a boolean, and a non-empty string is always treated as "true". > > I really trying to filter based on a parameter, if the > parameter is empty, don't filter. If it is something, filter. > I see no parameter. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








