$rootElt->set_atts( { $att1 => $att1Val, $att2 => $att2Val, $att3 => $att3Val});