15 Apr 20:02
Css Zen Garden Creator on MSXAML
Gerald Bauer <vamp201 <at> yahoo.com>
2005-04-15 18:02:30 GMT
2005-04-15 18:02:30 GMT
Hello,
Allow me to highlight the blog story titled "Avalon/XAML First Look" by CSS Zen Garden
creator Dave Shea.
Dave writes:
The code itself looks like (well-formed) tag soup from 1997. Whereas the web has seen a
shift from presentational markup (in the form of tables, embedded attributes like bgcolor,
and the dreaded font tag) to structural markup with a separated presentation layer (CSS),
XAML is purely a presentational language. I couldn't see evidence of attention toward
semantics, and all the presentational attributes are embedded right in the markup.
Januszewski referenced `a CSS-like syntax', but there's nothing CSS-like about it. It's ugly
presentational HTML all over again. A sample snippet:
<?xml version="1.0"?>
<Canvas
xmlns="http://schemas.microsoft.com/2003/xaml"
xmlns:def="Definition"
Width="500" Height="500" Background="White">
<Canvas.Resources>
<LinearGradientBrush def:Name="RedGrad"
StartPoint="0,0" EndPoint="1,1">
<LinearGradientBrush.GradientStops>
<GradientStopCollection>
<GradientStop Color="#FFFFFF"
Offset="0" />
<GradientStop Color="#FF0000"
Offset="0.5" />
(Continue reading)
RSS Feed