xsl-list
[Top] [All Lists]

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

2003-04-25 11:42:52
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