On Thu, Oct 10, 2002 at 05:42:41PM +0530, Ritu Khetan wrote: > Hello all, > > I am trying to send the following raw XML with HTML > using Net::Jabber to send a broadcast to all online users: > > <message to=\"192.168.2.1/announce/online\"><html > xmlns=\\\"http://www.w3.org/1999/xhtml\"><body><b>hello ^^^ > this is test message</b></body></html><body>hope it > reaches you</body></message>
If you want to send text with special characters like < and > you have to convert them over to the appropriate form, ie < >, etc. Also I would think that you should just include this in the <body> tag and not have an <html> one, but I could be wrong on that. Try sending a jabber HTML message to yourself with a working Jabber client and inspecting the XML sent. Chris _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
