Display only unique Nodes
I have a list of XML with assignmentdescriptions that are redundant (Midterm twice), how can I filter them out to only display the unique ones only.
<Data>
<CategoryDescription>Midterm</CategoryDescription>
<CategoryWeight>25.0000</CategoryWeight>
<AssignmentDescription>Midterm</AssignmentDescription>
<StudentWeightedScore>19.200000</StudentWeightedScore>
</Data>
<Data>
<CategoryDescription>Midterm</CategoryDescription>
<CategoryWeight>230.0000</CategoryWeight>
<AssignmentDescription>Midterm</AssignmentDescription>
<StudentWeightedScore>19.200000</StudentWeightedScore>
</Data>
<Data>
<CategoryDescription>Midterm</CategoryDescription>
<CategoryWeight>20.0000</CategoryWeight>
<AssignmentDescription>Homework 1</AssignmentDescription>
<StudentWeightedScore>19.200000</StudentWeightedScore>
</Data>
|