I\'m interested in assigning the tag name of the root element in an xml document to an xslt variable. For instance, if the document looked like (minus the DTD):
<
Figured it out. The function name() given the parameter * will return foo.