title: Receive custom XMPP stanzas with Smack
body: <p>I am trying to receive XMPP custom stanzas inside a message packet. For instance,</p>
  
  <pre><code>&lt;message ...&gt;
      &lt;custom_stanza&gt;
          &lt;foo&gt;wololo&lt;/foo&gt;
          &lt;bar&gt;haiooh&lt;/bar&gt;
      &lt;/custom_stanza&gt;
      ...
  &lt;/message&gt;
  </code></pre>
  
  <p>The point is that I know I will receive a "custom_stanza" stanza but I do not know about the names of the tags "foo" and "bar", and I need to retrieve the data inside them.</p>
  
  <p>I have used an <code>EmbeddedExtensionProvider</code> subclass which gives me the names of "foo" and "bar" but  I am not able to retrieve "wololo" nor "haiooh". How can I achieve this?</p>
  
  <p>Cheers,</p>