xsl-list
[Top] [All Lists]

Re: [xsl] XPTY0004: A sequence of more than one item is not allowed as the second argument of concat()

2010-08-09 09:15:17
 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-space()])"/></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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--