oh, sorry I'm still not sure what you mean though.
I'm quite new to XSL but feel I'm kind of getting there..
I use the @ when testing for a certain value.. eg.
Code:
<xsl:if test="Test/@Code = '0005'">
...found it!!!
</xsl:if>
Hope that helps, if you've not already got the answer..