Count function in XPath
count(//event_type[text()='Error'])
should do the trick. Also, a handy tool for XPath : http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm
Hoping this helps.
count(//event_type[text()='Error'])
should do the trick. Also, a handy tool for XPath : http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm
Hoping this helps.