[jdev] which xmlns to use
    Tim Fulcher - Clickatell 
    tim.fulcher at clickatell.com
       
    Thu Jul 21 03:28:13 CDT 2005
    
    
  
Hi all
 
I admit that I'm not to clued up on all this namespace stuff, but I'm
trying to wrap up some data about the user in an IM that that user has
sent. so I assume that my packet should look something like this:
 
<message id="JN_5" to=romeo <mailto:to=romeo at capulets.com> 
testing
@capulets.com"><body>testing</body><x xmlns="jabber.x.data
some_user_data="foobar" /></message>
 
So would that be correct? Or would this be OK:
 
<message id="JN_5" to=romeo <mailto:to=romeo at capulets.com> 
testing
@capulets.com"><body>testing</body><field xmlns="jabber.x.data
some_user_data="foobar" /></message>
 
?
 
If neither is correct could somebody point me in the right direction
 
Kind Regards
Tim Fulcher
    
    
More information about the JDev
mailing list