I have many rows in a database that contains XML and I'm trying to write a Python script that will go through those rows and count how many instances of a particular node attribute show up. For instance, my tree looks like:
How can I access the attributes 1 and 2 in the XML using Python?
Select the correct answer from above options