What I am trying to do is use XSL to output all unique element and attribute names. Not their values, but their names.
So given an XML of:
<item id="12">
<price>12.00</price>
<author>Name</author>
<desc>Description</desc>
</item>
I want to show that there are elements of item,price,author,desc. In addition to that I want to know there is an attribute of 'id'.
Any ideas on how to do this? Or articles I can read about it? Is it even possible?
Thanks,
Levi