what's the relationship between XSL and XSLT

巧了我就是萌 提交于 2019-12-11 04:03:11

问题


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



来源:https://stackoverflow.com/questions/21018726/whats-the-relationship-between-xsl-and-xslt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!