How can I find all the distinct names in my XML by using XSL?
<NewDataSet>
<SearchResult>
<Name>HAREDIN </Name>
<Surname>FEIMI</Surname>
<FathersName>QAMIL</FathersName>
<Birthdate>1949-06-13T00:00:00+02:00</Birthdate>
<CustomerSegment>Individe Standart </CustomerSegment>
</SearchResult>
<SearchResult>
<Name>HARMENAK</Name>
<Surname>BADEJAN</Surname>
<FathersName>VARAHAN </FathersName>
<Birthdate>1943-10-02T00:00:00+02:00</Birthdate>
<CustomerSegment>Individe Standart </CustomerSegment>
</SearchResult>
<SearchResult>
<Name>HARMENAK</Name>
<Surname>BADEJAN</Surname>
<FathersName>VARAHAN </FathersName>
<Birthdate>1943-10-02T00:00:00+02:00</Birthdate>
<CustomerSegment>Individe Standart </CustomerSegment>
</SearchResult>
</NewDataSet>
I wont all the distinct name node, th output like thse:
<root>
<Name>HAREDIN </Name>
<Name>HARMENAK</Name>
</root>