processone / xmpp

Erlang/Elixir XMPP parsing and serialization library on top of Fast XML

Home Page:http://process-one.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spec for custom stanza

karunreddy30 opened this issue · comments

commented

Could someone show how the spec is written for more than two child elements? I would like to write a spec for something like this:

<iq to="YourServer" type="set">
  <register xmlns="https://myurl.com/push" >
    <token>TOKEN</token>
     <device>Android/Ios</device>
  </register>
</iq>
commented

I looked at the xmpp_codec.spec and found examples. Closing the issue. Sorry to spam.