[standards-jig] UPDATED: JEP-0071 (XHTML-IM)

Peter Saint-Andre stpeter at jabber.org
Fri Dec 5 23:28:32 UTC 2003


On Fri, Dec 05, 2003 at 04:48:26PM -0600, Peter Saint-Andre wrote:
> On Fri, Dec 05, 2003 at 03:23:04PM -0700, David Waite wrote:
> 
> > One question, and the XHTML experts might be good resources to answer 
> > this as well - for an 'incremental' document format like chat messages 
> > in a conversation, does it make sense to root at <html>, or more sense 
> > to root with something like <div> ?
> 
> Heh, I hadn't thought of that. :-) I'll bring that up with my new guru
> friends....

Well, one consideration is that we need to be able to include multiple 
versions of the content for i18n purposes. There is an example of this 
in the JEP:

<message>
  <body xml:lang='en-US'>awesome!</body>
  <body xml:lang='de-DE'>ausgezeichnet!</body>
  <html xmlns='http://jabber.org/protocol/xhtml-im'>
    <body xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
      <h1>awesome!</h1>
    </body>
    <body xml:lang='de-DE' xmlns='http://www.w3.org/1999/xhtml'>
      <h1>ausgezeichnet!</h1>
    </body>
  </html>
</message>

Not sure I like <div> instead of <body> there.

/psa

-- 
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.php




More information about the Standards mailing list