'Return SampleState created from an xml string.'

def from_elem(self, request_type, elem):

    name = elem.get('name', None)
    description = elem.get('description', None)
    return self.new(request_type, name, description=description)
