[JDEV] Formatting pt. 2 - JAJC
Cunningham, Steven
Steven.Cunningham at LibertyMutual.com
Wed Aug 13 14:35:22 CDT 2003
Can someone tell me if I'm doing this wrong?
-- Java Code --
String jabMessage = "<message><body>OMG, i'm green with
envy!</body><html xmlns='http://jabber.org/protocol/xhtml-im'><body><p
style='font-size:large'>OMG, i'm <span style='color:green'>green</span>
with <em>envy</em>!</p></body></html></message>";
JabberChatService chat = jabberSession.getChatService();
chat.sendPrivateMessage(to, message);
-- End Java Code --
Steven Cunningham
Database Management Group
Liberty Mutual
-----Original Message-----
From: David 'TheRaven' Chisnall [mailto:theraven at sucs.org]
Sent: Wednesday, August 13, 2003 11:41 AM
To: jdev at jabber.org
Subject: Re: [JDEV] Formatting pt. 2 - JAJC
JAJC does support some form of XHTML, although it claims to be <html
xmlns="http://www.w3.org/TR/xhtml-basic">, rather than the recommended
<html xmlns="http://jabber.org/protocol/xhtml-im"> from JEP-71, so I
don't know how compatible it is with other implementations.
Cunningham, Steven wrote:
> Formatting pt. 2 - JAJC
>
> I got responses on formatting messages with the Exodous client, but it
> seems that it's not possible.
>
> Now I'd like to ask how/if it's possible to do so with the JAJC
> client?
>
> * Steven Cunningham *
> Database Management Group
> Liberty Mutual
>
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list