xsl-list
[Top] [All Lists]

RE: [xsl] Context document with exsl:node-set()?

2007-11-01 14:43:00
Believe me, I know the ins and outs of result-tree-fragments within
"pure" XSLT 1.0. My question was regarding how they behave when
converted with exsl:node-set(), which I do not know as much about, and
that was the context behind the statements in my reply.

The result of exsl:node-set() has the same general structure as a
document in that it has one root node, but that root node could have
multiple element node children (unlike an XML document).

I was not asking about the structure of the exsl:node-set() result. I
was asking about its behavior with regards to document-sensitive XSLT
constructs, keys in particular. The behavior that I'm seeing so far
validates this.
<xsl:apply-templates select="exsl:node-set($rtf)"/>
is acting identically to this in my tests (with respect to keys and root
node references):
<xsl:apply-templates select="document(rtf.xml)"/>

where rtf.xml is an external document containing content identical to
that of $rtf at the time of the statement.


~ Scott

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--