[JDEV] Rich Text in Messages
tcharron
tcharron at ductape.net
Mon Dec 11 12:34:21 CST 2000
From: "David Waite" <dwaite at jabber.com>
Subject: Re: [JDEV] Rich Text in Messages
> It is not adding a new tag to the Jabber DTD. It is tacking a namespace
onto
> the 'document' which is the Jabber Session. It really is the correct way
to do
> things. Technically <x>/<query> do not belong to the jabber document at
all,
> but are there as 'recommendations' for jabber-related extensions.
Err, no, nowhere in the old DTD's is the <html> tag present. That's a
brandy spanking new tag under the message tag.
> To put it another way - I cannot pass the xhtml content off to a view
control
> without changing the 'x' tag to 'html' - the data being sent in that case
> would be invalid.
Yes, you could.
<x xmlns="jabber:x:xhtml>
<html xmlns=="http://www.w3.org/1999/xhtml">
All Me XHTML Data
</html>
</x>
I'm not saying *SHOULD*, mind you, but could.. :-P
More information about the JDev
mailing list