How to add protocol extension

Hi, would like to know how I can add a protocol extension in OpenFire. Basically I want to define a new child element in IQ stanza something like:

<iq…>

<my_element>

</my_element>

Thanks.

if you want a XEP-0060 or XEP-0163, the openfire 3.6.4 implements.

you can use this protocol in your client (using the Smack 3.1.0 that implement this XEPs) that the openfire passes to other contacts. and you can add new child element.

this is one idea to implement, I implement this and it works very good.