0 Replies Latest reply on Sep 23, 2010 10:15 AM by harry@flex

    how to check for duplicates in an xml ?

    harry@flex Level 1

      Hi,

      I need to check for duplicate data in an xml.

       

      Ex:-

      <PhoneUsersList>

       

      <PhoneUsers UserId="jjoseph">

      <FirstName>Joe</FirstName>

      <LastName>Joseph</LastName>

      <MACAddress>1111:1111:1111</MACAddress>

      </PhoneUsers>

       

      <PhoneUsers UserId="jdoe">

      <FirstName>Joe</FirstName>

      <LastName>Doe</LastName>

      <MACAddress>1111:1111:1111</MACAddress>

      </PhoneUsers>

       

      <PhoneUsers UserId="jdoe">

      <FirstName>Joe</FirstName>

      <LastName>Doe</LastName>

      <MACAddress>2222:2222:2222</MACAddress>

      </PhoneUsers>

       

      </PhoneUsersList>

       

      Is there a way to check for the duplicate entries of lastname firstname macaddress and userid?