I have a small problem.
I would like to parse the
<stream:stream ...>
from the begining of the XMPP conversation.
The closest thing to what I would like is
exmpp_xml:parse_document_fragment("String").
However, due to the fact that the XML element is not closed the only thing I get is a continue result.
I can understand why I get this result, but I would like to be able to process attributes in the <stream:stream ...>
To create I found
exmpp_stream:opening/3
exmpp_stream:opening_reply
,
To sum up, which is the best way to get a xmlel() of the form returned by exmpp_stream:opening from a Binary?
Many thanks,
Tiberiu
