I am using a key to grab all of the elements that have the attribute (class='heading')
Expand|Select|Wrap|Line Numbers
- <xsl:key name="TOCnames" match="//*" use="@class" />
What I'd like to do, is indent each name differently depending on what element they came from. A Chapter element would be indented more than a volume element. I don't know how to test the element and find out what kind of element it is. I'm assuming it is a simple answer, but I can't seem to find it anywhere.