code: def _set_global_defaults(xmlglobals):
      
      for key, val in xmlglobals.items():
          if key != "defaults":
              for name, tag in val.items():
                  _update_from_globals(tag, xmlglobals, None)
docs: Sets the default attributes on tags that were specified in <global>
      tags in the XML file.