Css in xml?

Why isn’t CSS defined in an XML format?  If XML is so perfect for xhtml, you would have thought it would be the default standard in styling xhtml and therefore used in CSS?

Even if they removed explicit end tags, it’d be better.

Doesn’t this:

background-image:
url(’bgdesert.jpg’)

Requires understanding a lot more syntax than:

<background-image>
<url>bgdesert.jpg</>
</>

Leave a Reply