Assuming that you have a jabber server, running on port 5222 installed on a server named APACHES you can get to it over telnet and send the following:
<stream:stream to='apaches' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'> this will return <?xml version='1.0'?> <stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='{you jabber server returns a random id here}' xmlns='jabber:client' from='apaches'> notice that these are not well formed xml streams, they become well formed when you close the streams by sending </stream:stream> at which point the server sends </stream:stream> I don't know if ML can handle not well formed streams like that? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of A J Martin Sent: Monday, January 12, 2004 3:41 AM To: [EMAIL PROTECTED] Subject: [REBOL] Re: ML for Jabber ? Jason wrote: > Has anyone used ML dialect for creating Jabber messages ? What do Jabber messages look like in XML? :) Once I know that I can show you how it works out in ML dialect. -- Andrew J Martin ICQ: 26227169 http://www.rebol.it/Valley/ http://valley.orcon.net.nz/ http://Valley.150m.com/ -><- -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
