This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: need whitespace between attributes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]