Is there any provisions to display the attribute names of an XML element. It's easy to get an attribute value but I could not find any easy way at all to get the names of the attribute (note that I don't know attribute name existing in a XML element, beforehand)
For example, consider an XML element,
<CurrentStatus
ServiceHealth="Available"/> I wanna print the attribute name (ie ServiceHealth) by means of XPath in XSLT stylesheet.
any help?
thanks,
-Morgan |