Use: (/bookstore/book[@location='US'])[1] This will first get the book elements with the location attribute equal to 'US'. Then it will select the first ...
確定! 回上一頁