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]

need whitespace between attributes


Hi,

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
line)

'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


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