def to_xml(d, xmlns=None):
 if (d is None):
  return None
 serialize = XmlSerializer()
 return serialize(d, xmlns)

def to_xml ( d , xmlns = None ) : if ( d is None ) : return None serialize = XmlSerializer ( ) return serialize ( d , xmlns )
convert a list of items to an alfred xml feedback message .