mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-16 07:10:15 -05:00
corrected examples
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3288 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
a9f20ff98c
commit
45b1d8b8ca
48
xep-0271.xml
48
xep-0271.xml
@ -58,41 +58,41 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<p>As shown in the following examples, a node is not encapsulated in the JabberID but instead is communicated in protocol to indicate that the interaction is directed to or from a specific facet of a domain, a localpart, or a resource.</p>
|
<p>As shown in the following examples, a node is not encapsulated in the JabberID but instead is communicated in protocol to indicate that the interaction is directed to or from a specific facet of a domain, a localpart, or a resource.</p>
|
||||||
<example caption="Nodes in Service Discovery: a disco#info request directed to a specific node"><![CDATA[
|
<example caption="Nodes in Service Discovery: a disco#info request directed to a specific node"><![CDATA[
|
||||||
<iq type='get'
|
<iq type='get'
|
||||||
from='romeo@montague.net/orchard'
|
from='romeo@montague.net/orchard'
|
||||||
to='mim.shakespeare.lit'
|
to='mim.shakespeare.lit'
|
||||||
id='info3'>
|
id='info3'>
|
||||||
<query xmlns='http://jabber.org/protocol/disco#info'
|
<query xmlns='http://jabber.org/protocol/disco#info'
|
||||||
node='http://jabber.org/protocol/commands'/>
|
node='http://jabber.org/protocol/commands'/>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
<example caption="Nodes in Publish-Subscribe: a publish request directed to a specific node"><![CDATA[
|
<example caption="Nodes in Publish-Subscribe: a publish request directed to a specific node"><![CDATA[
|
||||||
<iq type='set'
|
<iq type='set'
|
||||||
from='hamlet@denmark.lit/blogbot'
|
from='hamlet@denmark.lit/blogbot'
|
||||||
to='pubsub.shakespeare.lit'
|
to='pubsub.shakespeare.lit'
|
||||||
id='pub1'>
|
id='pub1'>
|
||||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||||
<publish node='princely_musings'>
|
<publish node='princely_musings'>
|
||||||
<item>
|
<item>
|
||||||
<entry xmlns='http://www.w3.org/2005/Atom'>
|
<entry xmlns='http://www.w3.org/2005/Atom'>
|
||||||
<title>Soliloquy</title>
|
<title>Soliloquy</title>
|
||||||
<summary>
|
<summary>
|
||||||
To be, or not to be: that is the question:
|
To be, or not to be: that is the question:
|
||||||
Whether 'tis nobler in the mind to suffer
|
Whether 'tis nobler in the mind to suffer
|
||||||
The slings and arrows of outrageous fortune,
|
The slings and arrows of outrageous fortune,
|
||||||
Or to take arms against a sea of troubles,
|
Or to take arms against a sea of troubles,
|
||||||
And by opposing end them?
|
And by opposing end them?
|
||||||
</summary>
|
</summary>
|
||||||
<link rel='alternate' type='text/html'
|
<link rel='alternate' type='text/html'
|
||||||
href='http://denmark.lit/2003/12/13/atom03'/>
|
href='http://denmark.lit/2003/12/13/atom03'/>
|
||||||
<id>tag:denmark.lit,2003:entry-32397</id>
|
<id>tag:denmark.lit,2003:entry-32397</id>
|
||||||
<published>2003-12-13T18:30:02Z</published>
|
<published>2003-12-13T18:30:02Z</published>
|
||||||
<updated>2003-12-13T18:30:02Z</updated>
|
<updated>2003-12-13T18:30:02Z</updated>
|
||||||
</entry>
|
</entry>
|
||||||
</item>
|
</item>
|
||||||
</publish>
|
</publish>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='Use in XMPP URIs' anchor='uri'>
|
<section1 topic='Use in XMPP URIs' anchor='uri'>
|
||||||
|
Loading…
Reference in New Issue
Block a user