I find difficulty in converting string to xpath in xslt
XSLT
<xsl:param name="name"/>
<xsl:template match="/">
<xsl:if test="$name">
<xsl:message><xsl:value-of select="$name"/></xsl:message>
<xsl:value-of select="$name"/>
</xsl:if>
</xsl:template>
param 'name' value (Xpath expression) will be passed from java. What should i do in xsl to consider this string as xpath?