Posts in current category

XSL language


May 28, 2021 02:00 XSL T


Table of contents


XSL language


XSL refers to the extended style sheet language (EXtensible Stylesheet Language), which is a style sheet language for XML documents.

It starts with XSL and ends with XSLT, XPath, and XSL-FO.


Starts with XSL

XSL refers to the extended style sheet language (E X tensible S tylesheet L anguage).

The World Wide Web Alliance (W3C) began to develop XSL because of the need for XML-based style sheet languages.


CSS - HTML style sheet

HTML uses predefined labels, and the meaning of each label is easily understood.

The label in HTML defines the table - and the browser clearly displays it.

It's easy to style HTML elements. With CSS, it's easy to tell your browser to display an element in a specific font or color.


XSL - XML style sheet

XML does not use predefined labels (we can use any favorite label names), and the meaning of each label is not so easy to understand.

The label means an HTML table, a piece of furniture, or something - the browser doesn't know how to display it.

XSL describes how to display XML documents!


XSL - More than just style sheet language

XSL consists of three parts:

  • XSLT - A language used to transform XML documents.
  • XPath - A language used to navigate through XML documents.
  • XSL-FO - A language used to format XML documents.

The main content of this tutorial is XSLT

The rest of this tutorial focuses on XSLT - the language used to transform XML documents.

In this tutorial, you'll learn how to convert XML documents to other documents, such as XHTML, using XSLT.


Related tutorials

XML tutorial

XHTML tutorial