[xsl] need whitespace between attributes

Subject: [xsl] need whitespace between attributes
From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2001 12:21:44 -0000

My XSL file is receiving two parameters

<xsl:param name="param1"/>
<xsl:param name="param2"/>

then compares them to see if param2 is contained in param1:

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

This code produces the error (using SAXON, passing in params from command

'Fatal error reported by XML parser: need whitespace between attributes'

Hard coding in values works fine, as does hard coding one value and using a
param for the other.  It only falls over when two params are used together.

Any ideas?

Andrew Welch

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

Current Thread