Set a language attribute to a root node