XSLT - getting the attribute name

hi

i am new to XSLT. i need a help

i have a xml file and it contains a node with attribute

<songs type="folks"></songs>

i want to knw how to get the attribute name ie (type) in a XSLT. i got its value uisng the @type function. but i have to get the attribute name.and print it in a table.

plz help me

thnkx

[361 byte] By [kk_da] at [2007-11-27 0:48:34]
# 1
If you are writing something generic that does not have any idea of what attributes it will be looking for, then the attribute axis will give you a list of all the attributes. I think that goes like this:attribute::*
DrClapa at 2007-7-11 23:17:35 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...