Is it possible to construct a Xpath expression in a Style Sheet and use in places like, <xsl:variable name="xpath"><xsl:value-of select="@name"></xsl:variable> <xsl:value-of select="$xpath"/> Ofcourse this does not work. What should I do to achieve this kind on function. Thanks, -sarva