[JDEV] Rich Text in Jabber
Peter Donald
pjdonald at cs.latrobe.edu.au
Sat Sep 30 23:05:14 CDT 2000
At 10:29 27/9/00 -0700, you wrote:
>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.
well style predates XML and is generally considered a good thing. Style
takes CSS (or CSS2 ??) style directives and used to display presentation
properties. Even if you are a big fan of XSL (the child of DSSL and
supposed replacement for CSS) it is even worse because it seperates
everything out and you can end up with a 100k files turning into 4-5 MB and
is damn hard to decipher. XSL:FO is a lot harder to read and be thankful
you don't have to try to decipher it ;)
Cheers,
Pete
*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power." |
| -Abraham Lincoln |
*------------------------------------------------------*
More information about the JDev
mailing list