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):
<foo xmlns="http://....."> <bar>1</bar> </foo>
and I wanted to assign the string 'foo' to an xslt variable. Is there a way to reference that?