Comment obtenir le précédent élément?

<p class="small" style="margin: 16px 4px 8px;">
<b>
<a class="menu-root" href="#pg-jump">Pages</a>
 :  
<b>1</b>

<a class="pg" href="viewforum.php?f=941&start=50">2</a>

<a class="pg" href="viewforum.php?f=941&start=100">3</a>
 ... 
<a class="pg" href="viewforum.php?f=941&start=8400">169</a>

<a class="pg" href="viewforum.php?f=941&start=8450">170</a>

<a class="pg" href="viewforum.php?f=941&start=8500">171</a>
<a class="pg" href="viewforum.php?f=941&start=50">Next.</a>
</b>
</p>

Je veux attraper a élément contenant 171. Donc, fondamentalement, l'élément précédent de la Prochaine.

//a[.='Next.']//Not sure how to use preceding here

OriginalL'auteur Pablo | 2012-03-25