Programming and Coding
What is the difference between XSL and XSLT?
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- Built-in template rules for the mode "#default" -->
<xsl:template match="* | /">
<xsl:template match="text() | @*">
<xsl:value-of select="." />
<xsl:template match="processing-instruction() | comment()" />
XSLT is developed by the W3C XSLT Working Group (members only) whose charter is to develop the next version of XSLT. XSLT is part of W3C's XML Activity, whose work is described in the XML Activity Statement.
XPath is developed jointly by the XQuery and XSLT Working Groups.
The XSL-FO work at W3C was taken over by the XML Print and Page Layout Working Group which has now been closed.
The XslCompiledTransform class is the Microsoft .NET Framework XSLT processor that supports the XSLT 1.0 syntax. This class is used to compile style sheets and execute XSLT transformations.
To use XSLT 2.0/3.0 with .NET, you have to go with third party options, such as the .NET version of Saxon from http://saxon.sourceforge.net/
This is known as the identity rule or "identity template".
The XPath expression @* | node() selects the union of attribute nodes (@*) and all other types of XML nodes (node()).
@* | node()
It is a shorthand for attribute::* | child::node().
attribute::* | child::node()
© 2020 Digcode.com. All rights reserved.