[xsl] Re: need whitespace between attributes

Subject: [xsl] Re: need whitespace between attributes
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 14 Feb 2001 05:09:50 -0800 (PST)
Andrew Welch wrote:

> <xsl:for-each select="TBD/business[contains(xsl:value-of
> select="$param1",xsl:value-of select="$param2")]">
> 
> This code produces the error ...

This is not even syntactically correct xml (e.g. the nested quotes).

More importantly, the arguments will never be evaluated and substituted
in the way you probably expected...

Try using:

contains($param1, $param2)

Dimitre Novatchev.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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


Current Thread