I have a big XML file but I do not know its schema. I can go through all the elements but it will take time and I may make mistake. I can write a code to analyze it but before I do, I would like to know if there is anything out there that can be used to analyze the XML files? Preferably, stand alone or Java libraries.
The information I would like to know are, for example, what are all the XML tags in the file, what elements and attributes may each tag contain, etc. These are important for me to make sure that the XML processor that I will write will not miss out any entry in the XML.
Maybe some schema generation tools can be quite useful for you. Here are some of them: