Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] CSS does not use the XML syntax. Why not?

From: Rick Jelliffe <rjelliffe@-------.---.-->
To: "Costello, Roger L." <costello@-----.--->
Date: 6/23/2008 12:28:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent