Re: How to remove duplicates nodes?

Subject: Re: How to remove duplicates nodes?
From: Joel Riedesel <jriedese@xxxxxxxxx>
Date: Fri, 25 Aug 2000 13:24:20 -0600
That's nice, but my structure is more complex and, to be honest,
I still don't quite get how I would do this:

I have a rule with multiple rhs elements.  Each rhs element
may have multiple value elements.

I want to find the first value element of each rhs of the rule and
no duplicates of those.

to get all the value elements I'm interesting in I do this:

 <xsl:variable name="values" select="rule/rhs/value[1]"/>

But, that may have duplicates, and that's where I'm having the
difficulty.  It's not obvious, to me, how to take the example from
the faq and apply it here.

Thanks again,

Joel


"DuCharme, Robert" wrote:
> 
> >How do I remove syntactically duplicate nodes from that set?
> 
> See the FAQ: http://www.dpawson.freeserve.co.uk/xsl/N2696.html
> 
> Bob DuCharme          www.snee.com/bob           <bob@
> snee.com>  "The elements be kind to thee, and make thy
> spirits all of comfort!" Anthony and Cleopatra, III ii
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
Joel Riedesel
Jnana Technologies Corporation
mailto:jriedese@xxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread