Easy Tutorial
❮ El Apply Templates El Stylesheet ❯

XSLLanguage


It began with XSL and ended with XSLT, XPath, and XSL-FO.


Beginning with XSL

XSL stands for Extensible Stylesheet Language (EXtensible Stylesheet Language).

The World Wide Web Consortium (W3C) started developing XSL because there was a need for an XML-based stylesheet language.


CSS = HTML Stylesheet

HTML uses predefined tags, and the meaning of each tag is easily understood.

The <table> tag in HTML defines a table - and browsers know how to display it.

Adding styles to HTML elements is straightforward. With CSS, it is easy to instruct browsers to display an element with a specific font or color.


XSL = XML Stylesheet

XML does not use predefined tags (we can use any tag name we like), and the meaning of each tag is not always easily understood.

The <table> tag could mean an HTML table, a piece of furniture, or something else - browsers do not know how to display it.

XSL describes how to display an XML document!


XSL - More Than Just a Stylesheet Language

XSL consists of three parts:


The Main Focus of This Tutorial is XSLT

The rest of this tutorial is about XSLT - the language used to transform XML documents.

To learn more about XPath and XSL-FO, visit our XPath Tutorial and XSL-FO Tutorial.

❮ El Apply Templates El Stylesheet ❯