[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] A sequence of more than one item is not allowed as the [nth] argument of [function]
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 6 Mar 2005 10:31:18 GMT

> IMHO, in XSLT 1.0 mode using sequence as argument to
> concat() or string() should give an *error*.. As
> argument of type sequence is not allowed on concat()
> and string() in XPath 1.0 ..

That isn't the way things are defined in xslt 1.
The sequence type in xpath2 is the equivalent of the node set in XPath1
and you can give node sets as arguments to these functions in XPath1.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords