Skip to content
Browse files

corrected examples

git-svn-id: svn:// 4b5297f7-1745-476d-ba37-a9c6900126ab
  • Loading branch information...
1 parent 4630312 commit 04c120552c71771d7cd153695e8ad81cc5d6b27d @stpeter stpeter committed Jun 29, 2009
Showing with 24 additions and 24 deletions.
  1. +24 −24 extensions/xep-0271.xml
48 extensions/xep-0271.xml
@@ -58,41 +58,41 @@
<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[
-&lt;iq type='get'
+<iq type='get'
- id='info3'&gt;
- &lt;query xmlns=''
- node=''/&gt;
+ id='info3'>
+ <query xmlns=''
+ node=''/>
<example caption="Nodes in Publish-Subscribe: a publish request directed to a specific node"><![CDATA[
-&lt;iq type='set'
+<iq type='set'
- id='pub1'&gt;
- &lt;pubsub xmlns=''&gt;
- &lt;publish node='princely_musings'&gt;
- &lt;item&gt;
- &lt;entry xmlns=''&gt;
- &lt;title&gt;Soliloquy&lt;/title&gt;
- &lt;summary&gt;
+ id='pub1'>
+ <pubsub xmlns=''>
+ <publish node='princely_musings'>
+ <item>
+ <entry xmlns=''>
+ <title>Soliloquy</title>
+ <summary>
To be, or not to be: that is the question:
Whether 'tis nobler in the mind to suffer
The slings and arrows of outrageous fortune,
Or to take arms against a sea of troubles,
And by opposing end them?
- &lt;/summary&gt;
- &lt;link rel='alternate' type='text/html'
- href='http://denmark.lit/2003/12/13/atom03'/&gt;
- &lt;id&gt;tag:denmark.lit,2003:entry-32397&lt;/id&gt;
- &lt;published&gt;2003-12-13T18:30:02Z&lt;/published&gt;
- &lt;updated&gt;2003-12-13T18:30:02Z&lt;/updated&gt;
- &lt;/entry&gt;
- &lt;/item&gt;
- &lt;/publish&gt;
- &lt;/pubsub&gt;
+ </summary>
+ <link rel='alternate' type='text/html'
+ href='http://denmark.lit/2003/12/13/atom03'/>
+ <id>tag:denmark.lit,2003:entry-32397</id>
+ <published>2003-12-13T18:30:02Z</published>
+ <updated>2003-12-13T18:30:02Z</updated>
+ </entry>
+ </item>
+ </publish>
+ </pubsub>
<section1 topic='Use in XMPP URIs' anchor='uri'>

0 comments on commit 04c1205

Please sign in to comment.
Something went wrong with that request. Please try again.