Click to See Complete Forum and Search --> : How is different XSL to CSS?


toplisek
12-13-2008, 04:16 PM
How is different XSL (eXtensible Stylesheet Language) to normal CSS?
Is there some different when using XHTML?

Charles
12-14-2008, 01:46 PM
CSS describes how certain parts of an HTML or XHTML document ought to be presented, though it could be applied to SGML and XML documents as well.

XSL describes how some XML ought to be transformed into something else. Let's say you have some data or document marked up in XML, and XHTML is XML, you might have one XSL stylesheet that transforms the document into plain text, another to generate an RTF version, one to generate a full HTML or XHTML page with headers and navigation and CSS, and another to generate a Formatting Objects version. Formatting Objects are a way to describe how to layout the printed page and can themselves be transformed to text, or PDF or displayed directly. Formatting objects are way complicated and a nuisance to write which is what they invented XSL for. XSL comes in two flavors: the original XSL-FO (XML Style Sheet Language-Formatting Objects) and XSLT (XML Style Sheet Language Transformations).

toplisek
12-14-2008, 01:56 PM
Thank you

If I have XSL file and some tags, how can I move to particular location on website particular function from XSL?

Should be implemented HTML and incorporated within HTML this XSL file?

Which is the best reference URL for XSL (explanation, samples)?

Charles
12-14-2008, 02:06 PM
http://www.w3schools.com/xsl/default.asp
http://www.w3schools.com/xslfo/default.asp
http://www.w3.org/TR/xsl/