title: Sleekxmpp Managing Stanzas
body: <p>I am currently using SleekXMPP to build a simple XMPP client in Python. I'm a beginner though, and while I've read about stanzas, presence, roster, etc. I'm not sure how to get XML from the stream or how to handle it. I can't find any documentation on this either.</p>
  
  <p>So basically, what I'm wondering is, how do I make an event or a handler for something like a message? So I could call a function everytime a message is received or something.</p>
  
  <p>Thanks for your help!</p>