Hi Monks, I have a question for you, Pls can you suggest a solution for this...?
In a folder I have some 25 XML files . In some XML files the end tag is missing, so that it is not validating. I need to check whether it is having the end tag and if it is not there need to add it.
The sample XML file is below, and in some cases it is missing the last </main> tag. I need to check whether it is present there and if not there add it...
Any possibilities Monks? Hope you can help(Also note that I am not a Perl programmer!) Thanks in advance!