Nic Miloslav
Example 29***
You can get the name of currently selected element with name function. Stylesheet 1 prints names of all elements used in the document. Stylesheet 2 selects only elements which occurs first in each level.