For instance, in xslt, it would look like this, supposing getting the text of it.
<xsl:variable="myVar" select="4" />
<xsl:value-of select="//Feat[position()=$myVar]" />
But you might be thinking in other technologies, such as xquery... The xpath bit would still be the same.