I have two files have same data but in different lines.File 1:<Identities>    <Identity>        <Id>048206031415072010Comcast.USR8JR</Id>        <UID>ccp_test_79</UID>        <DisplayName>JOSH CCP</DisplayName>        <FirstName>JOSH</FirstName>        <LastName>CCP</LastName>        <Role>P</Role>        <LoginStatus>C</LoginStatus>    </Identity>    <Identity>        <Id>089612381523032011Comcast.USR1JR</Id>        <UID>94701_account1</UID>        <DisplayName>account1</DisplayName>        <FirstName>account1</FirstName>        <LastName>94701</LastName>        <Role>S</Role>        <LoginStatus>C</LoginStatus>    </Identity></Identities>File 2 :<Identities>    <Identity>        <Id>089612381523032011Comcast.USR1JR</Id>        <UID>94701_account1</UID>        <DisplayName>account1</DisplayName>        <FirstName>account1</FirstName>        <LastName>94701</LastName>        <Role>S</Role>        <LoginStatus>C</LoginStatus>    </Identity>    <Identity>        <Id>048206031415072010Comcast.USR8JR</Id>        <UID>ccp_test_79</UID>        <DisplayName>JOSH CCP</DisplayName>        <FirstName>JOSH</FirstName>        <LastName>CCP</LastName>        <Role>P</Role>        <LoginStatus>C</LoginStatus>    </Identity></Identities>If I use diff file1 file2 command I am getting below response:1,10d0<     <Identities><         <Identity><             <Id>048206031415072010Comcast.USR8JR</Id><             <UID>ccp_test_79</UID><             <DisplayName>JOSH CCP</DisplayName><             <FirstName>JOSH</FirstName><             <LastName>CCP</LastName><             <Role>P</Role><             <LoginStatus>C</LoginStatus><         </Identity>20a11,20>     <Identities>>         <Identity>>             <Id>048206031415072010Comcast.USR8JR</Id>>             <UID>ccp_test_79</UID>>             <DisplayName>JOSH CCP</DisplayName>>             <FirstName>JOSH</FirstName>>             <LastName>CCP</LastName>>             <Role>P</Role>>             <LoginStatus>C</LoginStatus>>         </Identity>But I need to get no difference, because these files having same data in different lines. Can anyone help me how to achieve no difference output. Thanks in advance.
how to compare two xml files having same data in different lines?
bash;shell;xml;file comparison