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

Re: xsl:key() and $variables.

Subject: Re: xsl:key() and $variables.
From: Steve <subsume@xxxxxxxxx>
Date: Mon, 31 Jul 2006 11:59:48 -0400
xslt key tree fragment
The plural goalpost you mention is actually the same goalpost. =)

Your solution was wonderful, but I failed to mention that one tree
happens to be contained in a variable via the document function. I
haven't since received any kind of specific help for this peculiar
need.

I'm not too keen on what you mean by 'pushing a result tree fragment',
but I can guarantee you I'm using 1.0.

-Steve

On 7/22/06, M. David Peterson <m.david@xxxxxxxxxx> wrote:
It seems we crossed wires, Ken...  Wish I would have read your reply
first, before hitting send.  Oh well, such is life :)

G. Ken Holman wrote:

> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

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-2013 All Rights Reserved.