Mega Code Archive
Attributes can be accessed in similar way as elements
"@" 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
Dog:
Color:
Output:
Dog: JoeColor: black