|
Subject: RE: [xsl] "Outer join" for XSLT? From: Florent Georges <darkman_spam@xxxxxxxx> Date: Fri, 30 Dec 2005 16:51:43 +0100 (CET) |
cknell@xxxxxxxxxx wrote:
> Given:
> <r>
> <e>1</e>
> <e>2</e>
> <e>3</e>
> <e>4</e>
> <e>5</e>
> </r>
Say $r1.
> and
> <r>
> <e>2</e>
> <e>4</e>
> </r>
Say $r2.
> What I'd like to produce is:
> <r>
> <e>1</e>
> <e>3</e>
> <e>5</e>
> </r>
<xsl:sequence
select="for $e in $r1/e
return if (exists($r2/e[.=$e]))
then ()
else $e"/>
?
Not tested.
--drkm
___________________________________________________________________________
Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] "Outer join" for XSLT?, Florent Georges | Thread | Re: [xsl] "Outer join" for XSLT?, David Carlisle |
| Re: [xsl] "Outer join" for XSLT?, James Fuller | Date | Re: [xsl] "Outer join" for XSLT?, Florent Georges |
| Month |