Hello, Can somebody tell me why don't w3c provide us with xml-based css format? It may be optional, but it would be easy to parse css using simple xml parsers (we have such for every modern programming language). Xml-based css will simplify development if: - we need to generate css dynamically in php,asp,asp.net,perl, etc... (converting style other document format, quering it from database or any other source), - we have CMS and wonts to add css editor to it, - we wont parse css to print, convert or render document, - we wont to store pictures (dackgrounds, etc...) inside stylesheet (xml provides us such ability opposed to css), etc. Example: <stylesheet> <style tag="body"> <background><color>FFFFFF</color></background> <border><style>none</style></border> <color>797A7A</color> <font><family>Verdana,Arial,Helvetica,sans-serif</family><size>12px</ size></font> <text-align>center</text-align> <margin>0</margin> <padding>0</padding> </style> <style tag="a"> <color>797A7A</color> <outline-style>none</outline-style> </style> <style class=".myclass"> <color>BBBBBB</color> </style> </stylesheet>Received on Thursday, 30 October 2008 07:48:40 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:15 GMT