Subject: Re: [xsl] XPTY0004: A sequence of more than one item is not allowed as the second argument of concat() From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Mon, 9 Aug 2010 15:15:05 +0100 |
> Error on line 166 > XPTY0004: A sequence of more than one item is not allowed as the second > argument of concat() This means that you have a concat() where the 2nd argument consists of more than item.. > <team><xsl:value-of > select="concat(./normalize-space(),./following-sibling::text()[normalize-spac e()])"/></team> So here, the 2nd argument is ./following-sibling::text()[normalize-space()] which is selecting 2 or more text nodes. If that is intentional, then use string-join() instead of concat(), other you may need to modify that xpath to only select a single item. -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XPTY0004: A sequence of more , Jack Bush | Thread | Re: [xsl] XPTY0004: A sequence of m, Michael Kay |
[xsl] XPTY0004: A sequence of more , Jack Bush | Date | Re: [xsl] XPTY0004: A sequence of m, Michael Kay |
Month |