corrected examples

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3965 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2010-02-22 04:19:32 +00:00
parent 06cc8d6da2
commit 89502bf9bf
1 changed files with 4 additions and 2 deletions

View File

@ -479,7 +479,7 @@
<url>http://example.org/me.png</url>
<desc>John Q. Public</desc>
</x>
</iq>
</message>
]]></example>
<p>Alternatively, if all else fails, the file may be included as a SOAP representation header:</p>
<example caption="IQ-set with SOAP representation header"><![CDATA[
@ -529,7 +529,9 @@
<message from='requester@example.com/soap-client'
id='soap2'
to='responder@example.com/soap-server'>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
xmlns:rep="http://www.w3.org/2004/08/representation"
xmlns:xmlmime="http://www.w3.org/2004/11/xmlmime">
<env:Header>
<rep:Representation resource='http://example.org/me.png'>
<rep:Data xmlmime:contentType='image/png'>/aWKKapGGyQ=</rep:Data>