xsl-list
[Top] [All Lists]

A sequence of more than one item is not allowed as the [nth] argument of [function]

2005-03-04 15:22:15
I am running into this error more and more (it's from Saxon 8.3 on XSLT
2.0 stylesheets), because I just don't understand the XSLT/XPath/XML
schema type system.  XSLT 2.0 seems strongly typed, but there are so
many implicit conversions (for compatibility with 1.0?) that I never
know what will work and what won't.

Why can't I pass a sequence to concat() or string()?  Shouldn't it be
implicitly converted to the concatentation of its items?  Evidently not,
so if I've got a sequence, what do I need to do to convert it to a
string?

-- 
Kevin


--~------------------------------------------------------------------
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>
--~--