获取XML中的属性值

如何使用xslt在以下xml中获取attribute1(blah)的值:

<name attribute1="blah" attribute2="blahblah"> </name> 

这更像是一个xpath问题,但是像这样,假定上下文是父元素:

 <xsl:value-of select="name/@attribute1" />