W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2003

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

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Mon, 29 Sep 2003 18:45:05 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DD171@daemsg02.software-ag.de>
To: Xavier Franc <xfranc@online.fr>, public-qt-comments@w3.org
> 
> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:49 UTC