Subject: Re: Sorting by document order of some other element
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Tue, 26 Jun 2007 18:00:38 +0200 (CEST)
|
Peter Hunsberger :
> On 6/25/07, David Carlisle wrote:
> > <xsl:copy-of select="for $e in set1/* return key('k',$e/@id)"/>
> David, that's a cool solution. Unfortunately I glossed
> over the fact that there is some manipulation of the data
> within the second set going on.
Just use xsl:apply-templates instead of xsl:copy-of.
Regards,
--drkm
___________________________________________________________________________
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions !
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses
http://fr.answers.yahoo.com
|