Subject: Re: functions and sequences
From: Dimtre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 13 Dec 2004 21:21:44 +1100
|
> > - Allow an xs:string() constructor, which takes a sequence of
> > xs:strings or a sequence of text nodes; This will allow a function of
> > type xs:string to automatically convert a sequence of
> > strings/text-nodes to a single string return value.
> >
> > - Provide an overload of the concat() function, which takes a
> > single argument of type sequence of xs:string or sequence of text
> > nodes.
>
> This operation can already be done conveniently using the <xsl:value-of>
> instruction in XSLT, or the string-join() function in XPath.
>
Actually, I meant:
- Extend the definition of the concat() function, so that *each*
of its (one or more)
arguments is of type non-empty sequence of xs:string or non-empty
sequence of text
nodes.
Cheers,
Dimitre.
|