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

Re: A sequence of more than one item is not allowed as

Subject: Re: A sequence of more than one item is not allowed as the [nth] argument of [function]
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Sat, 5 Mar 2005 09:29:45 +1100
Re:  A sequence of more than one item is not allowed as
Use the string-join() function


Cheers,
Dimitre Novatchev


On Fri, 4 Mar 2005 15:22:15 -0700, Kevin Rodgers <kevin.rodgers@xxxxxxx> wrote:
> 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

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.