I'm begginer to write xpath expression,facing an issue for captureing string (or) text of next to the <b> Tag sibling element like,
<div id="product-desc" class="green-box">
<p class="ref">
<b class="">Mfr Part#:</b>
"STM6520AQRRDG9F"
<br class="">
<b class="">Mounting Method:</b>
"Surface Mount"
<br class="">
<b class="">Package Style:</b>
"TDFN-8"
<br class="">
<b class="">Packaging:</b>
"REEL"
<br class="">
</p>
</div>
In Above html code how should i get the text xpath expression i.e ("STM6520AQRRDG9F") next to <b> element.I tried with following ways
//*[@id="product-desc"]/p[2]/b[1]/following-sibling::text()
can any one suggest me to get currect xpath expression of getting text xapth Expression.
Thanks for advance regards.
p[1]... - hek2mgl