xsl-list
[Top] [All Lists]

RE: difference between Result Tree Fragment (RTF) and a nodeset

2003-04-25 13:33:23
It's a very odd problem - the reason no one has given you an answer is
that no-one can think of an answer. Usually this means the problem is in
the part of the code that you haven't shown us. Occasionally - very
occasionally - it means you are using a buggy XSLT processor.

Please post a complete source document and stylesheet and the complete
output you are getting, and tell us which XSLT processor you are using
and how you invoked it.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
William Reilly
Sent: 25 April 2003 19:43
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] difference between Result Tree Fragment 
(RTF) and a nodeset


I don't mean to muddy the waters of Leena Kulkarni's query, 
but if anyone would like to also consider my ~similar (sort of) 
query of the previous couple of days, I'd appreciate it... :>)

http://www.biglist.com/lists/xsl-list/archives/200304/msg01138.html

QUESTION: 
What is the difference in these two bits of markup, from the
point of view of the  XSLT processor, working on 
an <xsl:apply-templates> or an <xsl:copy-of> instruction? <<

              +++++++++++++++++++++++++++++++++++++++++++
CODE #1:      <markup> <img src="pic.gif"/></markup>       << RTF
              +++++++++++++++++++++++++++++++++++++++++++

              +++++++++++++++++++++++++++++++++++++++++++
CODE #2:      <markup><img src="pic.gif"/></markup>        << nodeset
(I believe(?))
              +++++++++++++++++++++++++++++++++++++++++++

Markup code # 2 (no whitespace, empty content element) 
failed, working on 
an <xsl:apply-templates> or an <xsl:copy-of> instructions.  
Odd. See above URL for details.

Thanks!
William 'Over & Out' Reilly
wreilly(_at_)digitas(_dot_)com
Boston, Massachusetts U.S.A.
+++ /End of (my) e-mail +++++++++++++++++++++++++++++++

ORIG MSG: ----------------------
From: =?iso-8859-1?q?Leena=20Kulkarni?= 
<mulberrylist(_at_)yahoo(_dot_)co(_dot_)in>
Subject: [xsl] difference between Result Tree Fragment (RTF) 
and a nodeset

Hi all,
What is the difference between Result Tree Fragment
(RTF) and a nodeset?

My perception is RTF is a set of nodes in user defined
tags like -

<mytag>
<value/>
<value/>
</mytag>

and nodeset is the set of nodes got from the input doc
itself.

Is this correct?

Thanks in advance
--- /END of Leena Kulkarni ORIG e-mail --------------------

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>