xpath

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sascham
Forum Newbie
Posts: 1
Joined: Fri Nov 19, 2010 2:31 am

xpath

Post by sascham »

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>
Bind
Forum Contributor
Posts: 102
Joined: Wed Feb 03, 2010 1:22 am

Re: xpath

Post by Bind »

Post Reply