bhavna_816 0 Junior Poster

I have two XMls having same node and different data(innertext)
I want to compare these two xmls and if there is any change then save the new one into the database
and if both are same then do not save the data

How can I compare these XML data?

say I have two XMLs

string xml1= originalDataXML;
string xml2= editedDataXML;

How can I compare these two in C# and ASP.NET 2.0?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.