[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

need whitespace between attributes

Subject: need whitespace between attributes
From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2001 12:21:44 -0000
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.