xsl-list
[Top] [All Lists]

"Outer join" for XSLT?

2005-12-30 08:17:43
I'm having troubling finding a means of producing the difference between two 
node sets with identical structures. 

Given:
<r>
 <e>1</e>
 <e>2</e>
 <e>3</e>
 <e>4</e>
 <e>5</e>
</r>

and 

<r>
 <e>2</e>
 <e>4</e>
</r>

What I'd like to produce is:

<r>
 <e>1</e>
 <e>3</e>
 <e>5</e>
</r>

What I'm looking to do is analogous to a SQL outer-join. It may simply be that 
I don't know the term to search for.

Using XSLT 2.0, how is this done?

-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>