How to parse XML and count instances of a particular node attribute? How to parse XML and count instances of a particular node attribute? xml xml