there is a xml file in the following format:
In the source xml the <Employee> tag might have the same name and same designation meaning an employee can be repeated in the source xml.
The application reads this xml and process each node. The source xml file and the current tag position are written to a text file (sort of maintaining a checkpoint). For some reason, if the application crashes or is closed (this is a command line application), the next time when the applicaiton is started, it will check of the checkpoint file, look for the node number and starts processing from that node (sort of resume).
Currently this is done using the normal Xml classes of dotnet and the standard for loop, with the variable i initialized to the node count from the text file.
Is there a way to use the above logic, to start processing from a particular node if we know the node number, using LINQ.
Any help is grealty appreciated.
PS: I have not posted any code snippet as its very generic xml processing code.