、私は次のうちのちょうどISBN番号を取得しようとしています:最初の兄弟だけを選択するにはどうしたらいいですか? XPathを使用し
今<span class="product_info_details">
<b class="">ISBN: </b>1941529429
<b class="">Contributors: </b> (Illustrator)
<b class="">Publisher:</b> Parallax Pr
<b class="">Published:</b> Nov 1 2016
</span>
、私が使用している場合:
//span[@class="product_info_details"]/b/following-sibling::text()
私は出力を得る:
1941529429
(Illustrator)
Parallax Pr
Nov 1 2016
私は最初の値(1941529429)を結果として得るために何を使用できますか?