帮忙写一个XPath,该如何处理

帮忙写一个XPath

<?xml version="1.0" encoding="ISO-8859-1"?> 
<bookstore>
  <book> 
    <title lang="eng">Harry Potter</title>
    <author>Mr.A</author>
    <author>Mr.B</author>
  </book> 
  <book> 
    <title lang="eng">Learning XML</title> 
    <author>Mr.A</author>
    <author>Mr.C</author>
  </book> 
</bookstore>


求一个 XPath :获得所有内容为 Mr.A 的 author 节点集合

即: 结果 
1. <author>Mr.A</author>
2. <author>Mr.A</author>

------解决方案--------------------
//author[text()='Mr.A']
------解决方案--------------------
赶紧用//author[text()='Mr.A']测试吧