Subject: Re: concatenated key
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 23 Apr 2003 13:02:55 +0100
|
Hi I-Lin,
> Does xslt 2 have a concat() function which takes a node-set and then
> joins everything together? I'd like to do something like
> concat(node/@name). Better yet, I'd like to see a function
> join(node-set, delimiter) which can be used to produce delimited
> lists...
Yes. This is precisely what the string-join() function does. Have a
look at:
http://www.w3.org/TR/xquery-operators#func-string-join
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|