code: def serialize_attrib(self, op):
          
          elem = etree.Element('attribute')
          elem.text = op.name
          return elem
docs: Serializer for :meth:`SpiffWorkflow.operators.Attrib`.
  
          Example::
  
              <attribute>foobar</attribute>