1
0
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:
Peter Saint-Andre 2010-02-22 03:43:55 +00:00
parent f271dde123
commit 4cfb068297

View File

@ -182,31 +182,27 @@ A subscription request generally takes this form:
<example caption='General form of a subscription'>
SEND: &lt;iq type='set' from='subscriber' to='pubsub' id='s1'&gt;
&lt;query xmlns='jabber:iq:pubsub'&gt;
&lt;subscribe [to='publisher']&gt;
[&lt;ns&gt;namespace:1&lt;/ns&gt;
&lt;subscribe to='publisher'&gt;
&lt;ns&gt;namespace:1&lt;/ns&gt;
&lt;ns&gt;namespace:2&lt;/ns&gt;
...
&lt;ns&gt;namespace:N&lt;/ns&gt;]
&lt;ns&gt;namespace:N&lt;/ns&gt;
&lt;/subscribe&gt;
&lt;/query&gt;
&lt;/iq&gt;
RECV: &lt;iq type='result' to='subscriber' from='pubsub' id='s1'&gt;
&lt;query xmlns='jabber:iq:pubsub'&gt;
&lt;subscribe [to='publisher']&gt;
[&lt;ns&gt;namespace:1&lt;/ns&gt;
&lt;subscribe to='publisher'&gt;
&lt;ns&gt;namespace:1&lt;/ns&gt;
&lt;ns&gt;namespace:2&lt;/ns&gt;
...
&lt;ns&gt;namespace:N&lt;/ns&gt;]
&lt;ns&gt;namespace:N&lt;/ns&gt;
&lt;/subscribe&gt;
&lt;/query&gt;
&lt;/iq&gt;
</example>
<p>
Note - sections inside [...] are optional.
</p>
<section3 option='Publisher-Specific Subscriptions and Unsubscriptions'>
<p>