Same concern here, this could work better as a property-accessor.  It just accepts a dict, then uses reverse process and translation dict from <code>get_seclabel()</code> property accessor method.  Once VMXML has a 'seclabel' property, adding a staticmethod like 'seclabel_from_dumpxml()' is easy.