I should count and manage a tag. I have a tag in a XML file and I should extract this tag and its content counting it and creating another XML file with these tags. Can someone take my some suggestion?