"@" is in the front of attribute names.
"@name" matches name attribute of an element.
"data/@color" matches color attribute of data element.
File: Data.xml
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Dog:
Color:
Output:
Dog: Joe Color: black