Subject: How to create complicate custom packet type?
If I have a xml stream like this:
What it may look like?what if the complicate structure embed in <message>?
Thanks for any help.
<iq from=... to=... type=...>
<query xmlns=.....>
<tag1>.....</tag1>
<tag2>
<tag2.1>....</tag2.1>
<tag2.2>
<tag2.2.1>.....</tag2.2.1>
<tag2.2.2>.....</tag2.2.2>
</tag2.2>
</tag2>
</query>
</iq>
maybe more complicate strutcture,consider the child tag as a class,How to create the C# class for IQ and Element,<query xmlns=.....>
<tag1>.....</tag1>
<tag2>
<tag2.1>....</tag2.1>
<tag2.2>
<tag2.2.1>.....</tag2.2.1>
<tag2.2.2>.....</tag2.2.2>
</tag2.2>
</tag2>
</query>
</iq>
What it may look like?what if the complicate structure embed in <message>?
Thanks for any help.