
James G. answered 06/12/19
Computer Science and Programming Tutor, Teacher, and Professional
You could use something called ElementTree or xml.dom or xml.sax to do much of the work. If you can put a line of xml into a string, then you can use the string functions to find and count the number of instances of the tag.are you are scanning. It depends on how you have this stored in the database, the type of database, and more..