[JDEV] New html tag in messages

Sami Haahtinen ressu at ressukka.net
Sun Aug 18 12:19:23 CDT 2002


On Sat, Aug 17, 2002 at 11:28:23AM -0400, dlb wrote:
> thats for XHTML compliant 'rich text' message extensions. I'm not sure that
> it's appropriate to extend the HTML element in the way you describe.  Why do
> you want to place iq elements in html ?

it doesn't really matter what you pass on in the <IQ/> as long as it's
valid XML (which xhtml is) so you can add your own tags to the set as
you wish.

it is completely valid to do this (although i wouldn't recommend this =)
<iq to='foo at bar.com'>
  <html>
    <head>
      <title>i'm the title, wohoo</title>
    </head>
    <body>
      hello world
    </body>
  </html>
</iq>


Sami

-- 
			  -< Sami Haahtinen >-
      -[ Notify immediately if you do not receive this message ]-
	-< 2209 3C53 D0FB 041C F7B1  F908 A9B6 F730 B83D 761C >-



More information about the JDev mailing list