[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSLT2, select nodes inside a tokenize()'d variable


Subject: Re: [xsl] XSLT2, select nodes inside a tokenize()'d variable
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Wed, 20 Dec 2006 15:13:24 +0100 (CET)

Andrew Welch wrote:

  Hi

> for $x in $ana return string-join(concat($x,':',
> key('cat-by-id', $x)/catDesc), ', ')

  I'm not sure what you want here, because the result of concat() is an
xs:string, so using string-join() is not relevant here.  Did you mean
the following instead?

    string-join(
        for $a in $ana return
          concat($a, ':', key('cat-by-id', $a)/catDesc),
        ', '
      )

  Regards,

--drkm

























	

	
		
___________________________________________________________________________ 
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.com


Current Thread