what's the relationship between XSL and XSLT

2019-07-21 11:50发布

问题:

I know xsl is description language of style sheets associated with the W3C XML but i don't his relationship with XSLT?

someone can give me an example

回答1:

XSL stands for Extensible Stylesheet Language.

Historically, the XSL Working Group in W3C produced a draft specification under the name XSL, which eventually split into three parts:

  • XSL Transformation (XSLT): is an XML language for transforming XML documents
  • XSL Formatting Objects (XSL-FO): an XML language for specifying the visual formatting of an XML document
  • the XML Path Language (XPath): a non-XML language used by XSLT, and also available for use in non-XSLT contexts, for addressing the parts of an XML document.

XSLT stands for Extensible Stylesheet Language Transformations.

Generally when people say XSL they mean XSLT, however this is generally incorrect, but since convention dictates that xsl is the XML namespace for the XSLT schema people overlook this.



回答2:

XSL is a language for expressing stylesheets. It consists of three parts:

1. XSL Transformations (XSLT): a language for transforming XML documents

2. The XML Path Language (XPath): an expression language used by XSLT to access or refer to parts of an XML document.

3.An XML vocabulary for specifying formatting semantics (XSL Formatting Objects) 

Please refer this Link