iamakimmer 0 Newbie Poster

hi,

if I have a variable such as

<xsl:variable name="name" select="name" />

and I want to reach somewhere in xpath using this variable as the attribute, such as:

sum(/document/doc/@[B]$name[/B])

this query doesn't work. is there anyway I can reach this path without knowing that the attribute name?