[no subject]

From: Clay_Rowland@xxxxxxxxxxx
Date: Thu, 27 Jan 2000 17:13:04 -0500

I failed to mention in the first version of this question that I am trying to do
this strictly with XSL.

Is there any easy way to select only the unique elements from an xml document.
for example if i had the following xml document:

<SALESFORCE>
     <SALESPERSON NAME="BOB">
          <CUSTOMER CODE="1">ACME</CUSTOMER>
          <CUSTOMER CODE="2">BLAMMO</CUSTOMER>
     </SALESPERSON>
     <SALESPERSON NAME="TODD">
          <CUSTOMER CODE="1">ACME</CUSTOMER>
          <CUSTOMER CODE="3">KABLOOEY</CUSTOMER>
     </SALESPERSON>
     <SALESPERSON NAME="BETTY">
          <CUSTOMER CODE="4">JUICY JUICY</CUSTOMER>
          <CUSTOMER CODE="2">BLAMMO</CUSTOMER>
     </SALESPERSON>
</SALESFORCE>

I would want to only display:

ACME
BLAMMO
KABLOOEY
JUICY JUICY


thanks.



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


Current Thread