Question: xpath how to select attribute value?
Answer: XPath - @ is for Attribute! After you have figured out how to select an element in your XML document, just take it one step further to get the attribute. At the end of your XPath expression, which is normally the element you want to select, add the at sign "@" plus the name of the attribute you wish to select.