OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Microsoft Hypes Up XUL As The Greatest Expiriment Since Ad

[ Lists Home | Date Index | Thread Index ]

On Mon, Oct 27, 2003 at 07:49:39PM -0500, Gerald Bauer wrote:
>    Now let's look what a button looks like in the
> "revolutionary" Microsoft XAML thingy:
>    <Button Background="LightSeaGreen" FontSize="24pt">
>      Calculate
>    </Button> 
>    Whow. Compared to the XUL version:
>    <button label="Calculate" style="background:
> lightSeaGreen; font-size: 24pt" />
>    This is truly revolutionary and a bold step for
> mankind. 

Well, I agree it's an improvement, although more an Evolution
than a Genesis ;-)

In general it's a bad idea to have user-visible content in attributes,
because you can't put markup inside attributes.
Consider (for example) needing something like
    Calculate d<sup>2</sup>:
or a possible need to mix right-to-left and left-to-right scripts
with markup to differentiate source languages.

Using CSS rather than ad-hoc attributes is probably better too
(but I am basing this only on a single example) although using
published property names from XSL/FO or SVG would be even better.



Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
Ankh's list of IRC clients: http://www.valinor.sorcery.net/clients/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS