Tuesday, 16 November 2010

AWT- Merits of CSS & XSL

What are the relative merits of CSS and XSL?

 # There had been a new possibilities and opportunities in use of style sheet language for web developers, where they can design and maintain a website with a small effort. At present, there are two kinds of style sheet languages followed by web developers. These are extensible stylesheet language (XSL) and cascading style sheet (CSS). Though both of them are stylesheet language but the way they process the task is quite different from each other. CSS was designed for the principle of formatting or styling HTML and XML including XHTML. However XSL was evolved drastically from its previous design to style XML. Due to certain circumstances, later XML was spited into XSLT (Transformation Language) and XSL-FO (Styling Language)
Some of the advantages of CSS are as follows:        
·           CSS saves time
·           Pages load faster
·           Easy maintenance
·           Superior style for HTML
·           Easy to Use
Some of the advantaged of XSL over CSS are:
·           XSL is more powerful than CSS though it is more complex 
·           XSLT is proficient of creating content, such as automatically creating a table of contents just from chapters in a book, or removing/selecting content.
·           XSLT version 1.0 with the EXSLT extensions or XSLT version 2.0 is competent of generating multiple documents as well, whereby a CSS can only selectively remove content by not displaying it.
·           XSL-FO is unlike CSS in that the XSL-FO document stands alone. CSS modifies a document that attached to it, while the XSL-FO document contains all of the content to be presented in a purely presentational format. http://www.articlesbase.com/web-design-articles/difference-of-css-and-xsl-876646.html

No comments:

Post a Comment