I have an xml file from which I have to find the duplicates.
My XML file looks like this
I want to find the count of all element names
I tried the following code to first take all the names into a text file:
But this throws an error saying Can't find LibXML
.