xpath
Posted: Fri Nov 19, 2010 2:35 am
Hi,
I try to extract a part out of an HTML but not certain how would i do this with xpath
I want to extract the text behind "Division" in the example below it would be "Scimitar Omicron"
Please advice
Thanks
<div class="snapshot">
<div class="badge png-fix" onmouseover="Tooltip.show(this, '#best-team-3');">
<a href="/AlLaboUtyOu/"><img src="static/images/icons/league/platinum-medium.png" alt="" /></a>
<div id="best-team-3" style="display: none">
<div class="tooltip-title">Highest Ranked in 3v3</div>
<div class="badge-platinum">
<strong>Division:</strong> Scimitar Omicron<br />
<strong>Rank:</strong> 34<br />
<strong>Record:</strong> 11 - 1
</div>
</div>
I try to extract a part out of an HTML but not certain how would i do this with xpath
I want to extract the text behind "Division" in the example below it would be "Scimitar Omicron"
Please advice
Thanks
<div class="snapshot">
<div class="badge png-fix" onmouseover="Tooltip.show(this, '#best-team-3');">
<a href="/AlLaboUtyOu/"><img src="static/images/icons/league/platinum-medium.png" alt="" /></a>
<div id="best-team-3" style="display: none">
<div class="tooltip-title">Highest Ranked in 3v3</div>
<div class="badge-platinum">
<strong>Division:</strong> Scimitar Omicron<br />
<strong>Rank:</strong> 34<br />
<strong>Record:</strong> 11 - 1
</div>
</div>