RE: MS-FO-LC1-034: fn:concat without arguments not useful

> 
> However, for the sake of regularity and convenience I feel 
> that concat could also accept a string sequence in each 
> argument (i.e. replace string? by string* in the
>   prototype).
> 

This has been considered, and ruled out on the basis of backwards
compatibility with XPath 1.0.

The string-join function meets this need. Remember that you can write things
like:

string-join(("There are", count($seq), "items in this sequence:", $seq), "
")

Michael Kay

Received on Monday, 29 September 2003 12:45:10 UTC