XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] CSS does not use the XML syntax. Why not?

Costello, Roger L. wrote:
> Hi Folks,
>
> CSS does not use the XML syntax.  Why not?
>   
Cause it had to fit into attribute values?
> Is there something about CSS that makes its current syntax better
> suited than the XML syntax?
>   
It can fit into attribute values.  Terser. Looks more C/INI -like.
> In general, when should the XML syntax be used, and when should it not
> be used?
>   
At some point down the foodchain, structure becomes unimportant and 
impliable.

For example, in CSS what do { and } mean (i.e. what name would we give 
them in an XML version?)  The answer: who cares!  No name is best 
because its name would just be some indication that it groups and { 
conveys it just as well.

I think when you have a change in domain, it is natural to have a change 
in notation. 

And when there is already an extablished notation, having XML carving 
doesn't give much benefit.

The same its true for explaining microformats too: needed in attributes, 
uninteresting regular structure, change in domain from other data 
content of document, ?use of established notations?

Why CSS? Why not URLs too?

Cheers
Rick Jelliffe


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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

Copyright 1993-2007 XML.org. This site is hosted by OASIS