|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: difference between Result Tree Fragment (RTF) and
At 2003-04-25 14:21 +0100, Leena Kulkarni wrote:
What is the difference between Result Tree Fragment (RTF) and a nodeset? A result tree fragment can only be added to the result and its contents cannot be addressed using XPath without using an extension to XSLT 1.0. A node set can only be obtained from a source tree (which through the document function can include a source tree version of the stylesheet file) and cannot be obtained from a result tree fragment or the result tree. My perception is RTF is a set of nodes in user defined tags like - Sure, though not complete ... perhaps better said "a result tree fragment is a set of nodes defined in the stylesheet and destined for the result tree" though that doesn't capture the issue that the definition of the result tree fragment can include source tree nodes. The distinction is what you can *do* with either a result tree fragment or a node set. One can address a node set using XPath, but one cannot address the contents of a result tree fragment using XPath. I hope this helps! ........................ Ken
G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-10-1 Practical Formatting Using XSL-FO Male Breast Cancer Awareness http://www.CraneSoftwrights.com/s/bc XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








