mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-25 10:42:19 -05:00
corrected examples
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3959 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
f271dde123
commit
4cfb068297
16
xep-0024.xml
16
xep-0024.xml
@ -182,31 +182,27 @@ A subscription request generally takes this form:
|
|||||||
<example caption='General form of a subscription'>
|
<example caption='General form of a subscription'>
|
||||||
SEND: <iq type='set' from='subscriber' to='pubsub' id='s1'>
|
SEND: <iq type='set' from='subscriber' to='pubsub' id='s1'>
|
||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<subscribe [to='publisher']>
|
<subscribe to='publisher'>
|
||||||
[<ns>namespace:1</ns>
|
<ns>namespace:1</ns>
|
||||||
<ns>namespace:2</ns>
|
<ns>namespace:2</ns>
|
||||||
...
|
...
|
||||||
<ns>namespace:N</ns>]
|
<ns>namespace:N</ns>
|
||||||
</subscribe>
|
</subscribe>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
|
|
||||||
RECV: <iq type='result' to='subscriber' from='pubsub' id='s1'>
|
RECV: <iq type='result' to='subscriber' from='pubsub' id='s1'>
|
||||||
<query xmlns='jabber:iq:pubsub'>
|
<query xmlns='jabber:iq:pubsub'>
|
||||||
<subscribe [to='publisher']>
|
<subscribe to='publisher'>
|
||||||
[<ns>namespace:1</ns>
|
<ns>namespace:1</ns>
|
||||||
<ns>namespace:2</ns>
|
<ns>namespace:2</ns>
|
||||||
...
|
...
|
||||||
<ns>namespace:N</ns>]
|
<ns>namespace:N</ns>
|
||||||
</subscribe>
|
</subscribe>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
<p>
|
|
||||||
Note - sections inside [...] are optional.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<section3 option='Publisher-Specific Subscriptions and Unsubscriptions'>
|
<section3 option='Publisher-Specific Subscriptions and Unsubscriptions'>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user