[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: Context document with exsl:node-set()?
From: "Scott Trenda" <Scott.Trenda@xxxxxxxx>
Date: Thu, 1 Nov 2007 16:42:23 -0500
RE:  Context document with exsl:node-set()?
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.