I am reading a book on XSLT 2.0. I am on the chapter of XSLT Result Trees. Frankly, i don't understand it a bit. What are result trees? What is it used for? Why is it important?
相关问题
- XML - XSLT - document() function inside count() fu
- Using XSLT to select after EACH instance in a stri
- XSLT open other xml files
- How to use MSbuild property in TransformXml task?
- Using asp objects in .NET - Max compatibility
相关文章
- xslt localization
- convert xml to soap request using xslt transformat
- XALAN register Extension Function like in SAXON
- How to group using XSLT
- How to reformat XML with group-adjacent (XSLT)
- AddExtensionObject - Performance
- Transforming HTML nodes with XSLT in chrome/webkit
- visual studio 2015 xsl debugging transformation fa
XML documents form trees. A result tree is simply the name for the new tree you create after running an XSL transformation on a source tree: "A transformation expressed in XSLT describes rules for transforming zero or more source trees into one or more result trees" (from W3C).
From the W3C XSLT 2.0 Specification:
This means that all output from the XSLT transformation is a set of result trees (this will be a single result tree if no
<xsl:result-document>
is used).Also, any temporary tree like one created in the body of an
<xsl:variable>
(that isn't produced as a separate output, but is used internally in the course of the transformation) is a result tree.It is important to know that any XSLT transformation operates on trees and the result of the transformation is also a set of trees.