mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -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'>
|
||||
SEND: <iq type='set' from='subscriber' to='pubsub' id='s1'>
|
||||
<query xmlns='jabber:iq:pubsub'>
|
||||
<subscribe [to='publisher']>
|
||||
[<ns>namespace:1</ns>
|
||||
<subscribe to='publisher'>
|
||||
<ns>namespace:1</ns>
|
||||
<ns>namespace:2</ns>
|
||||
...
|
||||
<ns>namespace:N</ns>]
|
||||
<ns>namespace:N</ns>
|
||||
</subscribe>
|
||||
</query>
|
||||
</iq>
|
||||
|
||||
RECV: <iq type='result' to='subscriber' from='pubsub' id='s1'>
|
||||
<query xmlns='jabber:iq:pubsub'>
|
||||
<subscribe [to='publisher']>
|
||||
[<ns>namespace:1</ns>
|
||||
<subscribe to='publisher'>
|
||||
<ns>namespace:1</ns>
|
||||
<ns>namespace:2</ns>
|
||||
...
|
||||
<ns>namespace:N</ns>]
|
||||
<ns>namespace:N</ns>
|
||||
</subscribe>
|
||||
</query>
|
||||
</iq>
|
||||
</example>
|
||||
|
||||
<p>
|
||||
Note - sections inside [...] are optional.
|
||||
</p>
|
||||
|
||||
<section3 option='Publisher-Specific Subscriptions and Unsubscriptions'>
|
||||
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user