I have a directory handler that I created that updates itself by evaluating the xml-based manifest file for the current state and comparing it with the local .xml manifest.
I am currently processing each node to look for differences in some attributes to determine if an update is needed. I scroll through every node in the tree.
I was wondering if there was a more optimized XPath or a similar way to make "diff" on 2 XmlDocuments and return to it all the nodes that are different from each other, so I can only handle them.
This is a .NET 2.0 C # application.
Thank,
John
Xml Diff Patch , : http://msdn.microsoft.com/en-us/library/aa302294.aspx
, XPath. , . , node, , , . , , ( ).
, XML XSL, . A node , . XML, , , . concurrency, .
Source: https://habr.com/ru/post/1732785/More articles:flash as3: creating anonymous objects when calling a function? - objectAzure tables and SQL Server management studio - sql-serverCan I associate my ASP.NET application with a stand-alone executable web application? (I know that Java can) - javaORACLE: Are grants deleted when an object is deleted? - oracleHow to indicate whether a T4 file should produce any output - splitHow to set a callback for the end of a song / file with bass? - c #Exchange between databases in PostgreSQL - pythonC # XNA Box2d: What are the joints for a ragdoll? - c #Visual Studio 2008 debugger randomly dies - c #How to extract Windows OEM key from Windows - c ++All Articles