<?xml version="1.0"?>
<!-- These are the examples for XSF XEP-0036: Pub-Sub Subscriptions-->
<stream xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" xml:lang="en"><!-- Example 1-->
<iq type="set" from="pgm@jabber.org" to="pubsub.jabber.org" id="1">
    <query xmlns="jabber:iq:pubsub">
        <subscribe>
            <topic id="12345"/>
            <topic id="/presence/dizzyd@jabber.org"/>
        </subscribe>
    </query>
</iq>

<iq type="set" from="pgm@jabber.org" to="pubsub.jabber.org" id="1">
    <query xmlns="jabber:iq:pubsub">
        <unsubscribe>
            <topic id="12345"/>
        </unsubscribe>
    </query>
</iq>

<iq type="set" to="pubsub.jabber.org" id="1">
    <query xmlns="jabber:iq:pubsub">
        <publish>
            <topic id="12345">
                <item>some kind of cdata goes here</item>
            </topic>
        </publish>
    </query>
</iq>

<iq type="set" to="pubsub.jabber.org" id="1">
    <query xmlns="jabber:iq:pubsub">
        <createtopic>
            <topic id="new_topic">
                <profile>
                    <!-- is this even remotely close?? -->
                    <publisher>pgm@jabber.org</publisher>
                    <publisher>dizzyd@jabber.org</publisher>
                </profile>
            </topic>
            <topic id="another_topic>
                <profile>
                    <publisher/>
                </profile>
            </topic>
        </createtopic>
    </query>
</iq>

<iq type="set" to="pubsub.jabber.org" id="1">
    <query xmlns="jabber:iq:pubsub">
        <removetopic>
            <topic id="12345"/>
        </removetopic>
    </query>
</iq>
  </stream>

