Detect Duplicate and loop in XML

Creertrejoich

New Member
I am trying to achieve the below 2 things, when loading and parsing XML file recursively.1. Avoid duplicates2. Avoid loops.My XML file contains other XML file names as well. I have to load the main file first, then parse file names under tag. Once parsing completed, i have to load and parse these files one by one. While i doing these, i have to show message for duplicates or loops recursively. Please suggest me the algorithm/ links to solve this issue.
 
Back
Top