Subject: RE: [xsl] php:join() equiv in XSL/XPath 1.0?|
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 28 Feb 2006 19:03:28 -0000
XSLT 2.0 has string-join(), but in 1.0 you need for-each ... if position()!=last() Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Phillip B Oldham [mailto:phillip.oldham@xxxxxxxxxx] > Sent: 28 February 2006 18:36 > To: Mailing List: XSL > Subject: [xsl] php:join() equiv in XSL/XPath 1.0? > > Hi guys > > I'm looking for a quick way to join node values with a seperator, > similar to the join function in PHP/Perl/etc. concat() is > fine, but I'd > rather pass a nodeset, something like join( ', ', /root/list/* ). > > Can anyone help me out?