<xsl:param name="FValue" select="RUID" />
<xsl:param name="FValue1" select="146" />
<xsl:param name="Page" select="0" />
<xsl:param name="PageSize" select="1" />
<xsl:template match="/">
<table width="100%" border="0" cellspacing="0">
<xsl:for-each select="child::*/*[@*[name()=$FValue][.=$FValue1]]">
<tr>
<td>
<xsl:call-template name="ProcessMethod"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
There is no such thing as dynamic XPath in XSLT, that is why it needs to be so clumsy