Re: [xsl] xsl:key() and $variables.

Subject: Re: [xsl] xsl:key() and $variables.
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 22 Jul 2006 00:31:26 -0400
At 2006-07-21 15:54 -0400, Steve wrote:
Anyone have a 1.0 interpretation of this?

   <xsl:apply-templates
     select="key('records',
                 key('activities',
                     'yes',
                     document('blah.xml')),
                 $records)"/>

I gave you one:


http://www.biglist.com/lists/xsl-list/archives/200607/msg00515.html

but then you said "the <people> tree is actually a variable" in:

http://www.biglist.com/lists/xsl-list/archives/200607/msg00529.html

and then you said "I have a variable containing
<Records>" and "<xsl:apply-templates select="$variable/..." in:

http://www.biglist.com/lists/xsl-list/archives/200607/msg00603.html

Since you can't push a result tree fragment
variable in XSLT 1.0, you seem to obviously be using XSLT 2.0.

So, since you are using XSLT 1.0, you cannot push
a result tree fragment variable, so you are back
to using files, which is the answer I already provided.

We're only trying to help here ... you keep moving the goalposts.

. . . . . . . . . . Ken

--
Registration open for UBL training:    Montrial, Canada 2006-08-07
Also for XSL-FO/XSLT training:    Minneapolis, MN 2006-07-31/08-04
Also for UBL/XML/XSLT/XSL-FO training: Varo,Denmark 06-09-25/10-06
World-wide corporate, govt. & user group UBL, XSL, & XML training.
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)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread