[JDEV] Rich Text in Jabber
Julian Missig
julian at linuxpower.org
Wed Sep 27 14:58:13 CDT 2000
style= is for CSS, the thing which is supposed to provide style for
HTML/XML markup.
I will soon be writing a little proposal of all the elements which
jabber clients *must* support, *should* support, and *can* support
concerning XHTML-Basic. I do not believe we will be using CSS because
CSS parsers are not easy to create, unfortunately.
Julian
Mark Zamoyta wrote:
>
> Hello,
> I see that the JPG recommends XHTML Basic for rich text...
>
> <message to="horatio at denmark">
> <body>Angels and Ministers of Grace, defend us!</body>
> <html xmlns="http://www.w3.org/TR/xhtml-basic">
> <body>
> <div style="font-size: medium; color: red; text-align: center">
> Angels and Ministers of Grace, defend us!
> </div>
> </body>
> </html>
> </message>
>
> I went to the w3.org site to figure this out, and after jumping around for
> an hour I realize I gotta be an expert in HTML modules & XML to figure this
> out!! Does anyone know a site that lists all the tags and attributes for
> XHTML Basic in a simple format?
>
> Another thing I don't get is the style="..." attribute in the example. The
> whole point of XML is to simply hold data in tags and attributes, however
> this attribute needs its own parser to grab 3 different values out of it!!
> I know it's not brain surgery to parse it, but it defeats the purpose of
> using XML.
>
> If someone can point me to a site that explains this simply I'd appreciate
> it... otherwise I'll try to decrypt w3.org documents! Or is there a better
> standard Jabber can use for rich text?
>
> Thanks,
> Mark
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
email: julian at linuxpower.org
jabber:julian at jabber.org
More information about the JDev
mailing list