This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Yet Another Flat File to Hierarchy question..
- From: "Kurt Cagle" <cagle at olywa dot net>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 14 Jun 2002 11:37:34 -0700
- Subject: Re: [xsl] Yet Another Flat File to Hierarchy question..
- References: <6C86AF4F34A0D2119BDE0090272A6DCCB07E06@CHARLIE>
- Reply-to: xsl-list at lists dot mulberrytech dot com
In the Microsoft parser, xsl:key operations are performed before a context
is instantiated (for performance reasons, according to the implementer).
That's one of the big reasons I avoid use of xsl:key, at least in the MSXML
implementations.
----- Original Message -----
From: "Bill Cohagan" <bill.cohagan@teraquest.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Friday, June 14, 2002 11:02 AM
Subject: RE: [xsl] Yet Another Flat File to Hierarchy question..
> I think the problem you're seeing is related to the problem I described in
> my recent post regarding xsl:key semantics and MSXML. First, a good test
> would be to try your case using Saxon 6.5.2 which appears to "do the right
> thing" with the call to current(), at least for my testcase. I believe
> earlier versions do not. MSXML (any version) does NOT do the right thing
as
> far as I can tell. (Xalan may also be a way to test your case. I
understand
> that it works properly too.)
>
> Regards,
> Bill
>
> -----Original Message-----
> From: McNally, David [mailto:David.McNally@moodys.com]
> Sent: Friday, June 14, 2002 12:56 PM
> To: 'xsl-list@lists.mulberrytech.com'
> Subject: RE: [xsl] Yet Another Flat File to Hierarchy question..
>
> For some reason I can't get current() to work in key definitions - or at
> least that seems to be what the problem is. Using the suggested key
below,
> I tried this xslt:
>
> <snip>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list